summaryrefslogtreecommitdiffstats
path: root/test/FixIt/fixit-unrecoverable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/fixit-unrecoverable.cpp')
-rw-r--r--test/FixIt/fixit-unrecoverable.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/FixIt/fixit-unrecoverable.cpp b/test/FixIt/fixit-unrecoverable.cpp
index 00ed897..1e1f1b8 100644
--- a/test/FixIt/fixit-unrecoverable.cpp
+++ b/test/FixIt/fixit-unrecoverable.cpp
@@ -6,6 +6,7 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
float f(int y) {
- return static_cst<float>(y); // expected-error{{use of undeclared identifier 'static_cst'; did you mean 'static_cast'?}}
+ return static_cst<float>(y); // expected-error{{use of undeclared identifier 'static_cst'; did you mean 'static_cast'?}} \
+ // expected-error{{for function-style cast or type construction}}
}
OpenPOWER on IntegriCloud