1 #define NULL 0 2 void *foo() { 3 return NULL; 4 } 5 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. 8 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 14 // REQUIRES: asserts 15 16 // CHECK: macros.c:<b>3</b>:<b>10</b> 17 // CHECK-SAME: <font color="royalblue1"> 18 // CHECK-SAME: (<i>spelling at </i> macros.c:<b>1</b>:<b>14</b>) 19 // CHECK-SAME: </font> 20