Akira Hatanaka | aecca04 | 2015-09-11 18:55:09 +0000 | [diff] [blame] | 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 | } |