2010-01-01 10:34:51 +00:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-10-14 18:03:49 +00:00
|
|
|
|
|
|
|
struct S; // expected-note{{forward declaration of 'struct S'}}
|
|
|
|
|
|
|
|
void f() {
|
|
|
|
__is_pod(S); // expected-error{{incomplete type 'struct S' used in type trait expression}}
|
|
|
|
}
|