1 // RUN: not %clang_cc1 -triple s390x-linux-gnu -O2 -emit-llvm -o - %s 2>&1 \ 2 // RUN: | FileCheck %s 3 // REQUIRES: systemz-registered-target 4 5 // Test that an error is given if a physreg is defined by multiple operands. test_physreg_defs(void)6int test_physreg_defs(void) { 7 register int l __asm__("r7") = 0; 8 9 // CHECK: error: multiple outputs to hard register: r7 10 __asm__("" : "+r"(l), "=r"(l)); 11 12 return l; 13 } 14