blob: d5d32bd830fa3c589299f4036b40b9b6549df807 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fms-extensions -emit-llvm < %s | FileCheck %s
// CHECK: @a1 = global i32 1, align 1
__unaligned int a1 = 1;
// CHECK: @a2 = global i32 1, align 1
int __unaligned a2 = 1;
// CHECK: @a3 = {{.*}} align 1
__unaligned int a3[10];
// CHECK: @a4 = {{.*}} align 1
int __unaligned a4[10];
// CHECK: @p1 = {{.*}} align 1
int *__unaligned p1;
// CHECK: @p2 = {{.*}} align 8
int __unaligned *p2;
// CHECK: @p3 = {{.*}} align 1
int __unaligned *__unaligned p3;
|