1 // Note that the run lines are at the bottom of this file.
3 #define_other_target TEST1
6 #define_other_target TEST2
10 #define_other_target TEST3
15 #define_other_target TEST4
20 // RUN: clang -Eonly %s &&
22 // Check proper # of notes is emitted.
23 // RUN: clang -Eonly %s 2>&1 | grep note | wc -l | grep 2 &&
25 // Check that the diagnostics are the right ones.
26 // RUN: clang %s -Eonly -fno-caret-diagnostics 2>&1 | grep ':4:1: note' &&
27 // RUN: clang %s -Eonly -fno-caret-diagnostics 2>&1 | grep ':16:1: note'