Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
b9bbd592c7ea72ada8d982e40a729beb9b53371e
/
.
/
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}}
}