Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / basic / basic.def / p4.cpp
blobc3919156bbbbfd54b93f3910f774d4a86258b024
1 // RUN: %clang_cc1 -std=c++1z -verify %s
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}}
6 int use = f() + n; // expected-note 2{{used here}}