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
/
c11-old-style-definition-2.c
blob
89152ce07b4464547a109bf0e1901db5052574d4
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
}