summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/decltype-crash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/decltype-crash.cpp')
-rw-r--r--test/SemaCXX/decltype-crash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/decltype-crash.cpp b/test/SemaCXX/decltype-crash.cpp
index b56a7f6..f94ba45 100644
--- a/test/SemaCXX/decltype-crash.cpp
+++ b/test/SemaCXX/decltype-crash.cpp
@@ -1,7 +1,7 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
int& a();
void f() {
- decltype(a()) c; // expected-error {{no matching function for call to 'decltype'}}
+ decltype(a()) c; // expected-error {{use of undeclared identifier 'decltype'}}
}
OpenPOWER on IntegriCloud