summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-method.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-03-24 00:38:23 +0000
committerDouglas Gregor <dgregor@apple.com>2009-03-24 00:38:23 +0000
commit2134209a2a7b25f5e576a3c6fe1efa51864f11d2 (patch)
treea8acd6f8f5ace0df99c6b7c3a855165b3f3c92e4 /clang/test/SemaTemplate/instantiate-method.cpp
parent74250d1d68c1d8133f4f7687138affd9576fb80d (diff)
downloadbcm5719-llvm-2134209a2a7b25f5e576a3c6fe1efa51864f11d2.tar.gz
bcm5719-llvm-2134209a2a7b25f5e576a3c6fe1efa51864f11d2.zip
Cleanup template instantiation for methods, destructors
llvm-svn: 67585
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-method.cpp')
-rw-r--r--clang/test/SemaTemplate/instantiate-method.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/test/SemaTemplate/instantiate-method.cpp b/clang/test/SemaTemplate/instantiate-method.cpp
index a6a62354657..3497cbec022 100644
--- a/clang/test/SemaTemplate/instantiate-method.cpp
+++ b/clang/test/SemaTemplate/instantiate-method.cpp
@@ -2,9 +2,7 @@
template<typename T>
class X {
public:
- void f(T); // expected-error{{argument may not have 'void' type}}
- // FIXME: source location isn't very good, because we're
- // instantiating the type. Could we do better?
+ void f(T x); // expected-error{{argument may not have 'void' type}}
void g(T*);
static int h(T, T); // expected-error 2{{argument may not have 'void' type}}
OpenPOWER on IntegriCloud