aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/SemaTemplate/instantiate-method.cpp4
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}}