xref: /llvm-project/clang/test/CodeGen/stackrealign.c (revision adc402bf3d0565ac2bc7efbdd05f0d846e818041)
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 
test1(void)7 void test1(void) {
8 }
9