Sign in
llvm
/
llvm-project
/
30d3bb598f3950b4b71830ff59624bcc7e408931
/
.
/
clang
/
test
/
Sema
/
gnu89.c
blob: 1be717f54260e81d487dd8544f99db993341760c [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify
int
f
(
int
restrict
);
void
main
(
void
)
{}
// expected-warning {{return type of 'main' is not 'int'}} expected-note {{change return type to 'int'}}