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