[llvm-commits] [llvm] r103129 - /llvm/trunk/test/FrontendC/pr2394.c

Stuart Hastings stuart at apple.com
Wed May 5 15:49:33 PDT 2010


Author: stuart
Date: Wed May  5 17:49:33 2010
New Revision: 103129

URL: http://llvm.org/viewvc/llvm-project?rev=103129&view=rev
Log:
Test case for pr2394 and r102979.

Added:
    llvm/trunk/test/FrontendC/pr2394.c

Added: llvm/trunk/test/FrontendC/pr2394.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/pr2394.c?rev=103129&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC/pr2394.c (added)
+++ llvm/trunk/test/FrontendC/pr2394.c Wed May  5 17:49:33 2010
@@ -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;
+}





More information about the llvm-commits mailing list