Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Misc / sloc-usage.cpp
blob18bd94f8b9dc30e59f7341bb238b11c904316704
1 // RUN: %clang_cc1 -fsyntax-only -verify %s -include %S/Inputs/include.h
3 #include "Inputs/include.h"
4 #include "Inputs/include.h"
6 #define FOO(x) x + x
7 int k = FOO(FOO(123));
8 bool b = EQUALS(k, k);
10 #pragma clang __debug sloc_usage // expected-remark {{address space usage}}
11 // expected-note@* {{(0% of available space)}}
12 // (this file) expected-note-re@1 {{file entered 1 time using {{.*}}B of space plus 51B for macro expansions}}
13 // (included file) expected-note-re@Inputs/include.h:1 {{file entered 3 times using {{.*}}B of space{{$}}}}
14 // (builtins file) expected-note@* {{file entered}}