diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-03-24 00:38:23 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-03-24 00:38:23 +0000 |
commit | 5545e166a956a20d7a6b58408e251a1119025485 (patch) | |
tree | b583de7622c70cb496e0b5ac819e4ec343f20452 /test/SemaTemplate/instantiate-method.cpp | |
parent | c63c885734fa60a091e9f96a77e2f6b1489ae9fc (diff) | |
download | clang-5545e166a956a20d7a6b58408e251a1119025485.tar.gz |
Cleanup template instantiation for methods, destructors
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/instantiate-method.cpp')
-rw-r--r-- | test/SemaTemplate/instantiate-method.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/SemaTemplate/instantiate-method.cpp b/test/SemaTemplate/instantiate-method.cpp index a6a6235465..3497cbec02 100644 --- a/test/SemaTemplate/instantiate-method.cpp +++ b/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}} |