diff options
Diffstat (limited to 'test/CXX/drs/dr10xx.cpp')
-rw-r--r-- | test/CXX/drs/dr10xx.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CXX/drs/dr10xx.cpp b/test/CXX/drs/dr10xx.cpp index e1db9ef54adf8..7f5fd8c7ec277 100644 --- a/test/CXX/drs/dr10xx.cpp +++ b/test/CXX/drs/dr10xx.cpp @@ -31,9 +31,8 @@ namespace dr1004 { // dr1004: 5 // This example (from the standard) is actually ill-formed, because // name lookup of "T::template A" names the constructor. - // FIXME: Only issue one diagnostic for this case. - template<class T, template<class> class U = T::template A> struct Third { }; // expected-error 2{{is a constructor name}} - Third<A<int> > t; // expected-note {{in instantiation of}} expected-note {{while substituting}} expected-note {{while checking}} + template<class T, template<class> class U = T::template A> struct Third { }; // expected-error {{is a constructor name}} + Third<A<int> > t; // expected-note {{in instantiation of default argument}} } namespace dr1048 { // dr1048: 3.6 |