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
PR libstdc++/70940 make pmr::resource_adaptor return aligned memory
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr65066.c
blob
291e97a8d5c72a6c6d40ae2c58c8b2ffec84ded2
1
/* PR c/65066 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wformat -Wformat-signedness" } */
4
5
extern
int
sscanf
(
const char
*
restrict
,
const char
*
restrict
, ...);
6
int
*
a
;
7
8
void
9
foo
()
10
{
11
sscanf
(
0
,
"0x%x #"
,
a
);
/* { dg-warning "expects argument of type" } */
12
}