1 // RUN: %clang -target s390x -c -### %s -mpacked-stack -mbackchain 2>&1 | FileCheck %s
2 // RUN: %clang -target s390x -c -### %s -mpacked-stack -mbackchain -msoft-float \
3 // RUN:   2>&1 | FileCheck %s --check-prefix=KERNEL-BUILD
4 // REQUIRES: systemz-registered-target
5 
6 // CHECK: error: unsupported option '-mpacked-stack -mbackchain -mhard-float'
7 // KERNEL-BUILD-NOT: error: unsupported option
8