[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / expr / call3.C
blob13bca7170d6a8b18288ad4ee99939df5f2459f48
1 // PR c++/26036
2 // Origin: <ben@pc-doctor.com>
3 // { dg-do compile }
5 struct A
7   int i;
8 };
10 A foo(int);       /* { dg-message "note: declared here" } */
12 int j = foo().i;  // { dg-error "too few arguments" }