1 // RUN: %clang -### %s 2>&1 | FileCheck %s -check-prefix CHECK-0
2 // RUN: %clang -### -falign-functions %s 2>&1 | FileCheck %s -check-prefix CHECK-1
3 // RUN: %clang -### -falign-functions=1 %s 2>&1 | FileCheck %s -check-prefix CHECK-1
4 // RUN: %clang -### -falign-functions=2 %s 2>&1 | FileCheck %s -check-prefix CHECK-2
5 // RUN: %clang -### -falign-functions=3 %s 2>&1 | FileCheck %s -check-prefix CHECK-3
6 // RUN: %clang -### -falign-functions=4 %s 2>&1 | FileCheck %s -check-prefix CHECK-4
7 // RUN: %clang -### -falign-functions=65537 %s 2>&1 | FileCheck %s -check-prefix CHECK-ERR-65537
8 // RUN: %clang -### -falign-functions=a %s 2>&1 | FileCheck %s -check-prefix CHECK-ERR-A
9 
10 // CHECK-0-NOT: "-function-alignment"
11 // CHECK-1-NOT: "-function-alignment"
12 // CHECK-2: "-function-alignment" "1"
13 // CHECK-3: "-function-alignment" "2"
14 // CHECK-4: "-function-alignment" "2"
15 // CHECK-ERR-65537: error: invalid integral value '65537' in '-falign-functions=65537'
16 // CHECK-ERR-A: error: invalid integral value 'a' in '-falign-functions=a'
17 
18