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
doc: Remove i?86-*-linux* installation note from 2003
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
pr83489.C
blob
b6c82ef16e615e23e5f430de9e4b19f3cd5e978f
1
// PR c++/83489
2
// { dg-options "-Wabi=11" }
3
4
struct A
5
{
6
A foo(void i = 0); // { dg-error "incomplete type|invalid use" }
7
};
8
9
void bar()
10
{
11
A().foo();
12
}
13
14
A A::foo(void i) // { dg-error "incomplete type|invalid use" }
15
{
16
return A();
17
}