Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6
// RUN: %clang_cc1 -std=c++1z -verify %s inline int f(); // expected-warning {{inline function 'f' is not defined}} extern inline int n; // expected-error {{inline variable 'n' is not defined}} int use = f() + n; // expected-note 2{{used here}}