summaryrefslogtreecommitdiff
path: root/test/CodeGen/stackrealign.c
blob: 39b09397beb313288bdd9bb3daafcc2b548a3144 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 %s -emit-llvm -o - -mstackrealign | FileCheck %s -check-prefix=REALIGN
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-REALIGN

// REALIGN: attributes #{{[0-9]+}} = {{{.*}} "stackrealign"
// NO-REALIGN-NOT: attributes #{{[0-9]+}} = {{{.*}} "stackrealign"

void test1() {
}