OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
printf1.C
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
}