Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Misc / diag-func-call-ranges.c
blobc1ad687acb146a1040f497ab9046f02db62ea61d
1 // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-print-source-range-info %s 2>&1 | FileCheck %s --strict-whitespace
3 // CHECK: :{9:3-9:7}: error: too few arguments
4 // CHECK: :{7:12-7:26}: note: 'func' declared here
5 // CHECK: :{10:3-10:7}{10:13-10:17}: error: too many arguments
6 // CHECK: :{7:12-7:26}: note: 'func' declared here
7 void func( int aa, int bb) {}
8 void arity_mismatch() {
9 func(3);
10 func(3, 4,5, 6);