1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
7 lines
331 B
C
7 lines
331 B
C
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
// Check that we don't allow illegal uses of inline
|
|
inline int a; // expected-error{{'inline' can only appear on functions}}
|
|
typedef inline int b; // expected-error{{'inline' can only appear on functions}}
|
|
int d(inline int a); // expected-error{{'inline' can only appear on functions}}
|