aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/instantiate-cast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/instantiate-cast.cpp')
-rw-r--r--test/SemaTemplate/instantiate-cast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/instantiate-cast.cpp b/test/SemaTemplate/instantiate-cast.cpp
index d9088c8f6f..fc492edaaf 100644
--- a/test/SemaTemplate/instantiate-cast.cpp
+++ b/test/SemaTemplate/instantiate-cast.cpp
@@ -89,7 +89,7 @@ template struct ConstCast0<int const *, float *>; // expected-note{{instantiatio
template<typename T, typename U>
struct FunctionalCast1 {
void f(T t) {
- (void)U(t); // expected-error{{C-style cast from 'struct A' to 'int'}}
+ (void)U(t); // expected-error{{functional-style cast from 'struct A' to 'int'}}
}
};