]> granicus.if.org Git - clang/commitdiff
--lies.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 10 Feb 2012 09:37:07 +0000 (09:37 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 10 Feb 2012 09:37:07 +0000 (09:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150240 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaTemplate/instantiate-complete.cpp

index 4b27da7349f9b533d41bb5fb1b35f249fbccd5b9..68d5ae3cfb486f5e8f7939bfb764caf0913f4867 100644 (file)
@@ -28,7 +28,6 @@ void test_subscript(X<double> *ptr1, X<int(int)> *ptr2, int i) {
 void test_arith(X<signed char> *ptr1, X<unsigned char> *ptr2,
                 X<char(char)> *ptr3, X<short(short)> *ptr4) {
   (void)(ptr1 + 5);
-  // FIXME: if I drop the ')' after void, below, it still parses (!)
   (void)(5 + ptr2);
   (void)(ptr3 + 5); // expected-note{{in instantiation of template class 'X<char (char)>' requested here}}
   (void)(5 + ptr4); // expected-note{{in instantiation of template class 'X<short (short)>' requested here}}
@@ -145,4 +144,3 @@ namespace PR8425 {
     BaseT<int> bt(ft);
   }
 }
-