teak-llvm/clang/test/Driver/debug-unsupported.c
Rafael Espindola 925213b0fa Add 'not' to commands that are expected to fail.
This is at least good documentation, but also opens the possibility of
using pipefail.

llvm-svn: 185652
2013-07-04 16:16:58 +00:00

14 lines
623 B
C

// RUN: not %clang -c -gstabs %s 2>&1 | FileCheck %s
// RUN: not %clang -c -gstabs+ %s 2>&1 | FileCheck %s
// RUN: not %clang -c -gcoff %s 2>&1 | FileCheck %s
// RUN: not %clang -c -gxcoff %s 2>&1 | FileCheck %s
// RUN: not %clang -c -gxcoff+ %s 2>&1 | FileCheck %s
// RUN: not %clang -c -gvms %s 2>&1 | FileCheck %s
// RUN: not %clang -c -gstabs1 %s 2>&1 | FileCheck %s
// RUN: not %clang -c -gcoff2 %s 2>&1 | FileCheck %s
// RUN: not %clang -c -gxcoff3 %s 2>&1 | FileCheck %s
// RUN: not %clang -c -gvms0 %s 2>&1 | FileCheck %s
// RUN: not %clang -c -gtoggle %s 2>&1 | FileCheck %s
//
// CHECK: error: unsupported option