bolt/deps/llvm-18.1.8/clang/test/Driver/symbol-partition.c

6 lines
350 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang -### -target x86_64-unknown-linux -c -fsymbol-partition=foo %s 2>&1 | FileCheck %s
// RUN: not %clang -### --target=x86_64-pc-win32 -c -fsymbol-partition=foo %s 2>&1 | FileCheck --check-prefix=ERROR %s
// CHECK: "-fsymbol-partition=foo"
// ERROR: error: unsupported option '-fsymbol-partition=foo' for target 'x86_64-pc-windows-msvc'