1// RUN: %clang_cc1 -fsyntax-only -verify %s 2 3// Check that we don't allow illegal uses of inline 4// (checking C++-only constructs here) 5struct c {inline int a;}; // expected-error{{'inline' can only appear on functions}} 6