llvm-project/clang/test/Driver/sparc-march.c

5 lines
271 B
C

// RUN: %clang -target sparcv9 -march=v9 -### -c %s 2>&1 | FileCheck %s
// RUN: %clang -target sparc64 -march=v9 -### -c %s 2>&1 | FileCheck %s
// RUN: %clang -target sparc -march=v9 -### -c %s 2>&1 | FileCheck %s
// CHECK: error: unsupported option '-march=' for target