mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-31 15:11:04 +08:00
Fix typo.
From-SVN: r188227
This commit is contained in:
parent
5751cb9c6d
commit
c11965508b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user