diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-10 09:37:07 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-10 09:37:07 +0000 |
commit | 09aaaa43cd5e24d21c666350476802e7d01d6988 (patch) | |
tree | 627f91d4d66e18d4f3044dcb25f0cfac664fec56 /test/SemaTemplate/instantiate-complete.cpp | |
parent | 93e2fa488740a68604a4069ac61eba398de7275d (diff) |
--lies.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/instantiate-complete.cpp')
-rw-r--r-- | test/SemaTemplate/instantiate-complete.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/SemaTemplate/instantiate-complete.cpp b/test/SemaTemplate/instantiate-complete.cpp index 4b27da7349..68d5ae3cfb 100644 --- a/test/SemaTemplate/instantiate-complete.cpp +++ b/test/SemaTemplate/instantiate-complete.cpp @@ -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); } } - |