aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/fun-template-def.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/fun-template-def.cpp')
-rw-r--r--test/SemaTemplate/fun-template-def.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/fun-template-def.cpp b/test/SemaTemplate/fun-template-def.cpp
index 1c9b232f6d36..309921c0a664 100644
--- a/test/SemaTemplate/fun-template-def.cpp
+++ b/test/SemaTemplate/fun-template-def.cpp
@@ -42,7 +42,7 @@ T f1(T t1, U u1, int i1)
dummy d1 = sizeof(t1); // expected-error {{no viable conversion}}
dummy d2 = offsetof(T, foo); // expected-error {{no viable conversion}}
dummy d3 = __alignof(u1); // expected-error {{no viable conversion}}
- i1 = typeid(t1); // expected-error {{incompatible type assigning}}
+ i1 = typeid(t1); // expected-error {{assigning to 'int' from incompatible type 'std::type_info const'}}
return u1;
}