diff options
Diffstat (limited to 'test/SemaCXX/PR8755.cpp')
-rw-r--r-- | test/SemaCXX/PR8755.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/PR8755.cpp b/test/SemaCXX/PR8755.cpp index 07778ddfc900..6818f3f0a822 100644 --- a/test/SemaCXX/PR8755.cpp +++ b/test/SemaCXX/PR8755.cpp @@ -7,7 +7,7 @@ struct A { template <typename T> void f() { - class A <T> ::iterator foo; // expected-error{{elaborated type refers to a typedef}} + class A <T> ::iterator foo; // expected-error{{typedef 'iterator' cannot be referenced with a class specifier}} } void g() { |