diff options
Diffstat (limited to 'test/CodeGen/mbackchain-2.c')
| -rw-r--r-- | test/CodeGen/mbackchain-2.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/mbackchain-2.c b/test/CodeGen/mbackchain-2.c new file mode 100644 index 000000000000..e76afaf7687a --- /dev/null +++ b/test/CodeGen/mbackchain-2.c @@ -0,0 +1,7 @@ +// RUN: %clang -mbackchain --target=s390x-linux -S -emit-llvm -o - %s | FileCheck %s + +// CHECK: define void @foo() [[NUW:#[0-9]+]] +void foo(void) { +} + +// CHECK: attributes [[NUW]] = { {{.*}} "backchain" {{.*}} } |
