Sign in
llvm
/
llvm-project
/
refs/tags/llvmorg-16.0.2
/
.
/
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'}}