aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Driver/sparc-march.c
blob: 8ef3e62da5d27a59a8af0a0cf240505dd243ef61 (plain)
1
2
3
4
// RUN: not %clang -target sparcv9 -march=v9 -### -c %s 2>&1 | FileCheck %s
// RUN: not %clang -target sparc64 -march=v9 -### -c %s 2>&1 | FileCheck %s
// RUN: not %clang -target sparc -march=v9 -### -c %s 2>&1 | FileCheck %s
// CHECK: error: unsupported option '-march=' for target