Argyrios Kyrtzidis | 16afdf7 | 2012-05-10 05:03:45 +0000 | [diff] [blame] | 1 | // RUN: rm -f %t |
Richard Smith | 9867eba | 2012-12-05 22:33:14 +0000 | [diff] [blame] | 2 | // RUN: %clang -fsyntax-only %s -Wblahblah --serialize-diagnostics %t > /dev/null 2>&1 |
Argyrios Kyrtzidis | 16afdf7 | 2012-05-10 05:03:45 +0000 | [diff] [blame] | 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 |