2009-06-13 14:16:36 +08:00
|
|
|
// RUN: clang-cc -verify %s
|
2009-11-03 15:25:45 +08:00
|
|
|
// XFAIL: *
|
2009-06-13 14:16:36 +08:00
|
|
|
|
|
|
|
void f0(void) {
|
|
|
|
inline void f1(); // expected-error {{'inline' is not allowed on block scope function declaration}}
|
|
|
|
}
|
|
|
|
|
|
|
|
// FIXME: Add test for "If the inline specifier is used in a friend declaration,
|
|
|
|
// that declaration shall be a definition or the function shall have previously
|
|
|
|
// been declared inline.
|
|
|
|
|