☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
printf1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/printf1.C
code
plain
raw
1
// { dg-do assemble }
2
// { dg-options "-Wall" }
3
4
struct a
5
{
6
void x(char *f,...) __attribute__((format(printf,2,3)));
7
};
8
9
int main()
10
{
11
a A;
12
A.x("%d"); // { dg-warning "" } too few arguments for format
13
return 0;
14
}