summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/temp_explicit_cxx0x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/temp_explicit_cxx0x.cpp')
-rw-r--r--test/SemaTemplate/temp_explicit_cxx0x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/temp_explicit_cxx0x.cpp b/test/SemaTemplate/temp_explicit_cxx0x.cpp
index 9d6dc80..e37fcd7 100644
--- a/test/SemaTemplate/temp_explicit_cxx0x.cpp
+++ b/test/SemaTemplate/temp_explicit_cxx0x.cpp
@@ -18,7 +18,7 @@ template struct ::N1::Inner::X1<float>;
namespace N2 {
using namespace N1;
- template struct X0<double>; // expected-error{{not in a namespace enclosing}}
+ template struct X0<double>; // expected-error{{must occur in namespace 'N1'}}
template struct X2<float>; // expected-error{{at global scope}}
}
OpenPOWER on IntegriCloud