summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-06-18-SextAttrAggregate.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2007-06-18-SextAttrAggregate.c')
-rw-r--r--test/FrontendC/2007-06-18-SextAttrAggregate.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/FrontendC/2007-06-18-SextAttrAggregate.c b/test/FrontendC/2007-06-18-SextAttrAggregate.c
new file mode 100644
index 000000000000..2fcd72607a2a
--- /dev/null
+++ b/test/FrontendC/2007-06-18-SextAttrAggregate.c
@@ -0,0 +1,11 @@
+// RUN: %llvmgcc %s -o - -S -emit-llvm -O3 | grep {i8 signext}
+// PR1513
+
+struct s{
+long a;
+long b;
+};
+
+void f(struct s a, char *b, signed char C) {
+
+}