Sign in
llvm
/
clang
/
refs/heads/release_26
/
.
/
test
/
SemaCXX
/
type-traits-incomplete.cpp
blob: ac8ec452b93f85eea034b8ab386ee0d0b15f2667 [
file
] [
log
] [
blame
]
// RUN: clang-cc -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}}
}