repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-local.C
blob
2330365f7ce12a781ac860941c64af09d009c802
1
// PR c++/55240
2
// { dg-do compile { target c++11 } }
3
4
int main()
5
{
6
int q = 1; // { dg-message "declared here" }
7
struct test { int x = q; } instance; // { dg-error "local variable" }
8
}