Sign in
gnu
/
gcc
/
a5878983d53db7513edb0e6bd99250dbb0c7d147
/
.
/
gcc
/
testsuite
/
gcc.dg
/
Wold-style-definition-2.c
blob: 8e297c96411af015224737dd8382ea2504fe6425 [
file
] [
log
] [
blame
]
/* PR c/12466
Test for not warning about ellipsises with -Wold-style-definition. */
/* Origin: Kelley Cook <kcook@gcc.gnu.org> */
/* { dg-do compile } */
/* { dg-options "-Wold-style-definition" } */
void
bar1
(
...
)
{}
void
bar2
(
int
a
,
...
)
{}