doc: Remove i?86-*-linux* installation note from 2003
[official-gcc.git] / gcc / testsuite / g++.dg / abi / pr83489.C
blobb6c82ef16e615e23e5f430de9e4b19f3cd5e978f
1 // PR c++/83489
2 // { dg-options "-Wabi=11" }
4 struct A
6   A foo(void i = 0);  // { dg-error "incomplete type|invalid use" }
7 };
9 void bar()
11   A().foo();
14 A A::foo(void i)  // { dg-error "incomplete type|invalid use" }
16   return A();