[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / gnu89.c
blob1be717f54260e81d487dd8544f99db993341760c
1 // RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify
3 int f(int restrict);
5 void main(void) {} // expected-warning {{return type of 'main' is not 'int'}} expected-note {{change return type to 'int'}}