brintos

brintos / llvm-project-archived public Read only

0
0
Text · 368 B · d7b9eff Raw
14 lines · cpp
1// RUN: %clang_cc1 -verify %s2 3void f0a(void) {4   inline void f1(); // expected-error {{inline declaration of 'f1' not allowed in block scope}}5}6 7void f0b(void) {8   void f1();9}10 11// FIXME: Add test for "If the inline specifier is used in a friend declaration,12// that declaration shall be a definition or the function shall have previously13// been declared inline.14