Eli Friedman | 85a5319 | 2009-04-07 19:37:57 +0000 | [diff] [blame] | 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}} |