Fix the clang-wpa example.
[clang.git] / test / SemaCXX / inline.cpp
blobe569300faf77124dc7ec35bcea74eb6b717b6266
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
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}}