// RUN: %clang_cc1 -std=c++1z -verify %s
voidx(){inlineintf(int);// expected-error {{inline declaration of 'f' not allowed in block scope}}
inlineint n;// expected-error {{inline declaration of 'n' not allowed in block scope}}
staticinlineint m;// expected-error {{inline declaration of 'm' not allowed in block scope}}
}inlinevoidg();structX{inlinevoidf();// FIXME: This is ill-formed per [dcl.inline]p5.
inlinevoidg();inlinevoidh(){}};