summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-complete.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-02-10 09:37:07 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-02-10 09:37:07 +0000
commit25a01eca11e88b1ff2a4a91a340f1ba7fef85ffa (patch)
tree508682c1136ebb3add0988dcd7cd4864e1e5ebc2 /clang/test/SemaTemplate/instantiate-complete.cpp
parent136b2f24f0d55f6fb8ee9b40ae30cbd83e13319c (diff)
downloadbcm5719-llvm-25a01eca11e88b1ff2a4a91a340f1ba7fef85ffa.tar.gz
bcm5719-llvm-25a01eca11e88b1ff2a4a91a340f1ba7fef85ffa.zip
--lies.
llvm-svn: 150240
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-complete.cpp')
-rw-r--r--clang/test/SemaTemplate/instantiate-complete.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/test/SemaTemplate/instantiate-complete.cpp b/clang/test/SemaTemplate/instantiate-complete.cpp
index 4b27da7349f..68d5ae3cfb4 100644
--- a/clang/test/SemaTemplate/instantiate-complete.cpp
+++ b/clang/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);
}
}
-
OpenPOWER on IntegriCloud