Commit c1196550 by Mike Stump

Fix typo.

From-SVN: r188227
parent 5751cb9c
......@@ -23,7 +23,8 @@ char c1[1];
C<c1, 0> c;
template<const char *, int> struct D {};
template<int N> struct D<__func__, N> {}; // { dg-error "cannot appear|is invalid|is not a valid|function scope|constant expression" }
template<int N> struct D<__func__, N> {}; // { dg-error "(cannot appear|is invalid|is not a valid|function scope|constant expression)" }
// { dg-warning "function scope" "function scope" { target *-*-* } 26 }
char d1[1];
D<d1, 0> d;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment