Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
c29db84419592e98e71a08d1a9fb04a3d6b51a0c
/
.
/
clang
/
test
/
SemaCXX
/
inline.cpp
blob: e569300faf77124dc7ec35bcea74eb6b717b6266 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -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}}