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] Handle __declspec() attributes in using
[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'}}