Mercurial > hg > CbC > CbC_llvm
comparison clang/test/CodeGen/unaligned-decl.c @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
comparison
equal
deleted
inserted
replaced
173:0572611fdcc8 | 207:2e18cbf3894f |
---|---|
1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fms-extensions -emit-llvm < %s | FileCheck %s | 1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fms-extensions -emit-llvm < %s | FileCheck %s |
2 | 2 |
3 // CHECK: @a1 = global i32 1, align 1 | 3 // CHECK: @a1 ={{.*}} global i32 1, align 1 |
4 __unaligned int a1 = 1; | 4 __unaligned int a1 = 1; |
5 | 5 |
6 // CHECK: @a2 = global i32 1, align 1 | 6 // CHECK: @a2 ={{.*}} global i32 1, align 1 |
7 int __unaligned a2 = 1; | 7 int __unaligned a2 = 1; |
8 | 8 |
9 // CHECK: @a3 = {{.*}} align 1 | 9 // CHECK: @a3 = {{.*}} align 1 |
10 __unaligned int a3[10]; | 10 __unaligned int a3[10]; |
11 | 11 |