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 |
|
rev |
line source |
150
|
1 // RUN: rm -f %t
|
|
2 // RUN: %clang -fsyntax-only %s -Wblahblah --serialize-diagnostics %t > /dev/null 2>&1
|
|
3 // RUN: c-index-test -read-diagnostics %t 2>&1 | FileCheck %s
|
|
4
|
|
5 // This test case tests that we can handle frontend diagnostics.
|
|
6
|
|
7 // CHECK: warning: unknown warning option '-Wblahblah'
|
|
8 // CHECK: Number of diagnostics: 1
|