[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaCXX / type-traits-incomplete.cpp
blobc0a520e167698afabe14f3782eaed93c835817eb
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 struct S; // expected-note 2 {{forward declaration of 'S'}}
5 void f() {
6 __is_pod(S); // expected-error{{incomplete type 'S' used in type trait expression}}
7 __is_pod(S[]); // expected-error{{incomplete type 'S' used in type trait expression}}