Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
5c2609a1f9c68bbbb3dc665df212988133e85439
/
.
/
test
/
SemaCXX
/
inline.cpp
blob: 7d0505a435eeff0cc0a225c49909f06d91ed1e32 [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s
// Check that we don't allow illegal uses of inline
// (checking C++-only constructs here)
struct
c
{
inline
int
a
;};
// expected-error{{'inline' can only appear on functions}}