[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / typedef-variable-type.c
blobda1c241eea3dbc996c9b898f66c78a12dd7ebd17
1 // RUN: %clang_cc1 %s -verify -fsyntax-only -pedantic -Wno-typedef-redefinition -std=c99
3 // Make sure we accept a single typedef
4 typedef int (*a)[!.0]; // expected-warning{{folded to constant array}}
6 // And make sure we accept identical redefinitions in system headers
7 // (The test uses -Wno-typedef-redefinition to simulate this.)
8 typedef int (*a)[!.0]; // expected-warning{{folded to constant array}}