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 middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
guality
/
pr43141.c
blob
e6fe79a0efc3a9880a4e00e6e5a81233122dbbcf
1
/* { dg-do run } */
2
/* { dg-options "-g" } */
3
4
int
i
;
5
static int
f
(
int
)
__attribute
((
noinline
));
6
static int
f
(
int
x
)
7
{
8
return
i
;
9
}
10
11
int
main
()
12
{
13
return
f
(
42
);
14
}
15
16
/* { dg-final { gdb-test 8 "sizeof (x)" "sizeof (int)" } } */