Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Anders Carlsson | 3292d5c | 2009-07-07 19:06:02 +0000 | [diff] [blame] | 2 | |
3 | struct S; // expected-note{{forward declaration of 'struct S'}} | ||||
4 | |||||
5 | void f() { | ||||
6 | __is_pod(S); // expected-error{{incomplete type 'struct S' used in type trait expression}} | ||||
7 | } |