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
/
gcc.dg
/
pr62294.c
blob
c6ec5a75369fb25f2c6bb677a1093840b3bcb215
1
/* PR c/62294 */
2
/* { dg-do compile } */
3
4
#include
"pr62294.h"
5
6
void
7
fn
(
int
*
u
)
8
{
9
foo
(
u
);
/* { dg-error "passing argument 1 of .bar. from incompatible pointer type" } */
10
}