Sign in
llvm
/
clang
/
refs/heads/release_28
/
.
/
test
/
SemaCXX
/
type-traits-incomplete.cpp
blob: f95982157900f848308faa5367dd43cd3145dc3c [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
struct
S
;
// expected-note{{forward declaration of 'S'}}
void
f
()
{
__is_pod
(
S
);
// expected-error{{incomplete type 'S' used in type trait expression}}
}