Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Analysis / exploded-graph-rewriter / macros.c
blobf47342fc524b7b6423eabc8bb91ea3b639dd231f
1 #define NULL 0
2 void *foo(void) {
3 return NULL;
6 // The code above shall go first, because check tags below are sensetive to the line numbers on which the code is placed.
7 // You can change lines below in the way you need.
9 // FIXME: Figure out how to use %clang_analyze_cc1 with our lit.local.cfg.
10 // RUN: %clang_cc1 -analyze -triple x86_64-unknown-linux-gnu \
11 // RUN: -analyzer-checker=core \
12 // RUN: -analyzer-dump-egraph=%t.dot %s
13 // RUN: %exploded_graph_rewriter %t.dot | FileCheck %s
15 // CHECK: macros.c:<b>3</b>:<b>10</b>
16 // CHECK-SAME: <font color="royalblue1">
17 // CHECK-SAME: (<i>spelling at </i> macros.c:<b>1</b>:<b>14</b>)
18 // CHECK-SAME: </font>