brintos

brintos / llvm-project-archived public Read only

0
0
Text · 404 B · eaf00a7 Raw
12 lines · c
1// RUN: %clang_cc1 -mpacked-stack -triple s390x-ibm-linux -emit-llvm \2// RUN:   -o - %s 2>&1 | FileCheck  %s3// RUN: not %clang_cc1 -mpacked-stack -triple x86_64-linux-gnu \4// RUN:   -emit-llvm -o - %s 2>&1 | FileCheck -check-prefix=X86 %s5 6int foo(void) {7  return 0;8}9 10//CHECK: attributes #0 = { {{.*}}"packed-stack" {{.*}} }11//X86: error: option '-mpacked-stack' cannot be specified on this target12