aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/CFrontend/2007-06-18-SextAttrAggregate.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CFrontend/2007-06-18-SextAttrAggregate.c b/test/CFrontend/2007-06-18-SextAttrAggregate.c
new file mode 100644
index 0000000..e5e7fc4
--- /dev/null
+++ b/test/CFrontend/2007-06-18-SextAttrAggregate.c
@@ -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) {
+
+}