Mercurial > hg > CbC > CbC_llvm
diff clang/test/Driver/mfentry.c @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 (2020-02-13) |
parents | |
children | 0572611fdcc8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clang/test/Driver/mfentry.c Thu Feb 13 15:10:13 2020 +0900 @@ -0,0 +1,9 @@ +// RUN: %clang -target s390x -c -### %s -mfentry 2>&1 | FileCheck %s +// RUN: %clang -target i386 -c -### %s -mfentry 2>&1 | FileCheck %s +// RUN: %clang -target x86_64 -c -### %s -mfentry 2>&1 | FileCheck %s + +// CHECK: "-mfentry" + +// RUN: %clang -target powerpc64le -c -### %s -mfentry 2>&1 | FileCheck --check-prefix=ERR %s + +// ERR: error: unsupported option '-mfentry' for target 'powerpc64le'