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