Debian Codegraph @

gcc/testsuite/g++.dg/expr/call3.C

raw
1 // PR c++/26036
2 // Origin: <[email protected]>
3 // { dg-do compile }
4
5 struct A
6 {
7 int i;
8 };
9
10 A foo(int); /* { dg-message "note: declared here" } */
11
12 int j = foo().i; // { dg-error "too few arguments" }