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