]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/g++.dg/template/static30.C
PR c++/88757 - qualified name treated wrongly as type.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / template / static30.C
index 8b8637a1abea5bf176768e8f31dd424263376a02..07dafe23ffaab29f8d84df3caebef01bcb6393f4 100644 (file)
@@ -6,5 +6,5 @@ template <int> struct A
   static const int i2;
 };
 
-template <int N> const int A<N>::i1(A<N>::i); // { dg-error "no declaration matches" "" { target c++2a } }
+template <int N> const int A<N>::i1(A<N>::i);
 template <int N> const int A<N>::i2(3, A<N>::i); // { dg-error "expression list" }