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
[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git]
/
clang
/
test
/
Sema
/
gnu89.c
blob
1be717f54260e81d487dd8544f99db993341760c
1
// RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify
2
3
int
f
(
int
restrict
);
4
5
void
main
(
void
) {}
// expected-warning {{return type of 'main' is not 'int'}} expected-note {{change return type to 'int'}}