[cfe-commits] r150240 - /cfe/trunk/test/SemaTemplate/instantiate-complete.cpp
Richard Smith
richard-llvm at metafoo.co.uk
Fri Feb 10 01:37:07 PST 2012
Author: rsmith
Date: Fri Feb 10 03:37:07 2012
New Revision: 150240
URL: http://llvm.org/viewvc/llvm-project?rev=150240&view=rev
Log:
--lies.
Modified:
cfe/trunk/test/SemaTemplate/instantiate-complete.cpp
Modified: cfe/trunk/test/SemaTemplate/instantiate-complete.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/instantiate-complete.cpp?rev=150240&r1=150239&r2=150240&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/instantiate-complete.cpp (original)
+++ cfe/trunk/test/SemaTemplate/instantiate-complete.cpp Fri Feb 10 03:37:07 2012
@@ -28,7 +28,6 @@
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 @@
BaseT<int> bt(ft);
}
}
-
More information about the cfe-commits
mailing list