• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -std=c++1z -verify %s
2 
3 inline int f(); // expected-warning {{inline function 'f' is not defined}}
4 extern inline int n; // expected-error {{inline variable 'n' is not defined}}
5 
6 int use = f() + n; // expected-note 2{{used here}}
7