1 | // RUN: %clang_cc1 %s -triple i386-apple-darwin10 -emit-llvm -o - | FileCheck %s |
---|---|
2 | struct __attribute((packed)) x {int a : 24;}; |
3 | int a(struct x* g) { |
4 | // CHECK: load i24 |
5 | return g->a; |
6 | } |
7 |
1 | // RUN: %clang_cc1 %s -triple i386-apple-darwin10 -emit-llvm -o - | FileCheck %s |
---|---|
2 | struct __attribute((packed)) x {int a : 24;}; |
3 | int a(struct x* g) { |
4 | // CHECK: load i24 |
5 | return g->a; |
6 | } |
7 |