blob: c0a520e167698afabe14f3782eaed93c835817eb [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s
struct S; // expected-note 2 {{forward declaration of 'S'}}
void f() {
__is_pod(S); // expected-error{{incomplete type 'S' used in type trait expression}}
__is_pod(S[]); // expected-error{{incomplete type 'S' used in type trait expression}}
}