Sign in
llvm
/
clang
/
14db9fed7ce9427cefa9e066f41dd23b4073e464
/
.
/
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}}