repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
printf1.C
blob
65fda3fbde703333014e35565593de86658ed39b
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
}