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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c23-old-style-definition-2.c
blob
eae68a88c31211b6da32044c8762fdfb18a5340d
1
/* Test old-style function definitions not in C23: errors. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c23 -pedantic-errors" } */
4
5
void
6
f
(
x
)
/* { dg-error "old-style function definition" } */
7
int
x
;
8
{
9
}