mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
Test case for pr2394 and r102979.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be192dd1e9
commit
08bbda3811
6
test/FrontendC/pr2394.c
Normal file
6
test/FrontendC/pr2394.c
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// RUN: %llvmgcc %s -S -o - | FileCheck %s
|
||||||
|
struct __attribute((packed)) x {int a : 24;};
|
||||||
|
int a(struct x* g) {
|
||||||
|
// CHECK: load i24
|
||||||
|
return g->a;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user