☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
c11-old-style-definition-2.c
☽
☼
gcc/testsuite/gcc.dg/c11-old-style-definition-2.c
code
plain
raw
1
/* Test old-style function definitions not in C23: () does not give
2
type with a prototype for older standards. */
3
/* { dg-do compile } */
4
/* { dg-options "-std=c11" } */
5
6
void
7
f ()
8
{
9
}
10
11
void
12
g (void)
13
{
14
f (1);
15
}