OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* gcc.dg/format-nonlit-1.c, gcc.dg/format-nonlit-2.c: Use
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
format-nonlit-2.c
diff --git
a/gcc/testsuite/gcc.dg/format-nonlit-2.c
b/gcc/testsuite/gcc.dg/format-nonlit-2.c
index
c20ed08
..
9c3eee8
100644
(file)
--- a/
gcc/testsuite/gcc.dg/format-nonlit-2.c
+++ b/
gcc/testsuite/gcc.dg/format-nonlit-2.c
@@
-6,7
+6,7
@@
extern int printf (const char *, ...);
void
-foo (char *s,
int
i)
+foo (char *s,
__SIZE_TYPE__
i)
{
printf ((const char *)i, i); /* { dg-warning "argument types" "non-literal" } */
printf (s, i); /* { dg-warning "argument types" "non-literal" } */