OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/30849
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
defarg12.C
1
/* PR28266 This used to ICE in gimple_add_tmp_var */
2
/* { dg-do "compile" } */
3
4
struct A
5
{
6
int i;
7
A(int = X); /* { dg-error "was not declared in this scope" }*/
8
};
9
10
void foo()
11
{
12
A().i;
13
}