annotate clang/test/Misc/serialized-diags-frontend.c @ 165:597b3f1c2c93

fix call createTailCallEliminationPass
author anatofuz
date Tue, 24 Mar 2020 15:30:52 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -f %t
anatofuz
parents:
diff changeset
2 // RUN: %clang -fsyntax-only %s -Wblahblah --serialize-diagnostics %t > /dev/null 2>&1
anatofuz
parents:
diff changeset
3 // RUN: c-index-test -read-diagnostics %t 2>&1 | FileCheck %s
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 // This test case tests that we can handle frontend diagnostics.
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 // CHECK: warning: unknown warning option '-Wblahblah'
anatofuz
parents:
diff changeset
8 // CHECK: Number of diagnostics: 1