1 // Note that the run lines are at the bottom of this file.
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'