repo.or.cz
/
clang
/
acc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add include needed for MSVC.
[clang/acc.git]
/
test
/
SemaCXX
/
inline.cpp
blob
7d0505a435eeff0cc0a225c49909f06d91ed1e32
1
// RUN: clang-cc -fsyntax-only -verify %s
2
3
// Check that we don't allow illegal uses of inline
4
// (checking C++-only constructs here)
5
struct
c
{
inline
int
a
;};
// expected-error{{'inline' can only appear on functions}}