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