aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/stackrealign.c
blob: 64736e0b4df54f6832d292fb00b94d71359ca9e5 (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(void) {
}