Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c11-old-style-definition-2.c
blob: a22f555416d26c9dc09a09f976aa3a3cbc0403ce [
file
] [
log
] [
blame
]
/* Test old-style function definitions not in C2x: () does not give
type with a prototype for older standards. */
/* { dg-do compile } */
/* { dg-options "-std=c11" } */
void
f
()
{
}
void
g
(
void
)
{
f
(
1
);
}