repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-defer7.C
blob
3bef636ccbd2e7cfc9e3583cf08bf4e269634087
1
// PR c++/118147
2
// { dg-do compile { target c++11 } }
3
4
struct F {
5
int i = []{
6
#pragma message "test" // { dg-message "test" }
7
return 1;
8
}();
9
};
10
11
struct G {
12
int i =
13
#pragma GCC diagnostic push // { dg-error "file ends in default argument|expected" }