| 1 | // RUN: %clang_cc1 %s -emit-llvm -o - -mstackrealign | FileCheck %s -check-prefix=REALIGN |
|---|---|
| 2 | // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-REALIGN |
| 3 | |
| 4 | // REALIGN: attributes #{{[0-9]+}} = {{{.*}} "stackrealign" |
| 5 | // NO-REALIGN-NOT: attributes #{{[0-9]+}} = {{{.*}} "stackrealign" |
| 6 | |
| 7 | void test1() { |
| 8 | } |
| 9 |