repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AArch64] Add fpext and fpround costs (#119292)
[llvm-project.git]
/
clang
/
test
/
Sema
/
c2x-warn-strict-prototypes.c
blob
f3efa1a3aa49e213c0876df1db0b4bb8d1137706
1
// RUN: %clang_cc1 -fsyntax-only -Wstrict-prototypes -verify -std=c2x %s
2
// RUN: %clang_cc1 -fsyntax-only -Wstrict-prototypes -verify -fno-knr-functions %s
3
// expected-no-diagnostics
4
5
void
foo
();
6
void
bar
() {}
7
8
void
baz
(
void
);
9
void
baz
() {}