blob: 43a4bae48e95c5180682b576e9a9bb460ee1c89e (
plain)
1
2
3
4
5
6
7
8
9
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
extern inline
__attribute__((__gnu_inline__))
void gnu_inline1() {}
inline
__attribute__((__gnu_inline__)) // expected-warning {{'gnu_inline' attribute without 'extern' in C++ treated as externally available, this changed in Clang 10}}
void gnu_inline2() {}
|