Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 struct S; // expected-note 2 {{forward declaration of 'S'}}
      4 
      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}}
      8 }
      9