[Flang] remove whole-archive option for AIX linker (#76039)
[llvm-project.git] / clang / test / SemaCXX / type-traits-incomplete.cpp
blob3e341d64824407505195b402669ea701cf7baef7
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 struct S; // expected-note 6 {{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}}
9 __is_trivially_copyable(S); // expected-error{{incomplete type 'S' used in type trait expression}}
10 __is_trivially_copyable(S[]); // expected-error{{incomplete type 'S' used in type trait expression}}
12 __is_trivially_relocatable(S); // expected-error{{incomplete type 'S' used in type trait expression}}
13 __is_trivially_relocatable(S[]); // expected-error{{incomplete type 'S' used in type trait expression}}