[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / pr2394.c
blobc92e364dedacb36e7714ef9ac8cc62e929dd4d4c
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;