1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-NONE
2 // RUN: %clang_cc1 -emit-llvm -function-alignment 4 %s -o - | FileCheck %s -check-prefix CHECK-16
3 // RUN: %clang_cc1 -emit-llvm -function-alignment 5 %s -o - | FileCheck %s -check-prefix CHECK-32
6 void __attribute__((__aligned__(64))) g(void) {}
8 // CHECK-NONE-NOT: define {{(dso_local )?}}void @f() #0 align
9 // CHECK-NONE: define {{(dso_local )?}}void @g() #0 align 64
11 // CHECK-16: define {{(dso_local )?}}void @f() #0 align 16
12 // CHECK-16: define {{(dso_local )?}}void @g() #0 align 64
14 // CHECK-32: define {{(dso_local )?}}void @f() #0 align 32
15 // CHECK-32: define {{(dso_local )?}}void @g() #0 align 64