testcase for PR1513
authorChris Lattner <sabre@nondot.org>
Tue, 19 Jun 2007 00:08:42 +0000 (00:08 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Jun 2007 00:08:42 +0000 (00:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37638 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2007-06-18-SextAttrAggregate.c [new file with mode: 0644]

diff --git a/test/CFrontend/2007-06-18-SextAttrAggregate.c b/test/CFrontend/2007-06-18-SextAttrAggregate.c
new file mode 100644 (file)
index 0000000..e5e7fc4
--- /dev/null
@@ -0,0 +1,11 @@
+// RUN: llvm-gcc %s -o - -S -emit-llvm -O3 | grep {i8 sext}
+// PR1513
+
+struct s{
+long a;
+long b;
+};
+
+void f(struct s a, char *b, char C) {
+
+}