Sign in
chromium
/
external
/
github.com
/
emscripten-core
/
emscripten-fastcomp-clang
/
30fe3050d1e787ff6f74629b237278d902858dce
/
.
/
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}}