Sign in
llvm
/
clang
/
1571f048734190c5ed03d1a6083e579ec7b5801f
/
.
/
test
/
SemaCXX
/
type-traits-incomplete.cpp
blob: 0ef6917c5911cd2835448b0ba25bca31a5651237 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
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}}
}