From 839c522e0c9b0515e81bf0fa0aa20cb76c78128b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 19 Jun 2007 00:08:42 +0000 Subject: [PATCH] testcase for PR1513 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37638 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2007-06-18-SextAttrAggregate.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/CFrontend/2007-06-18-SextAttrAggregate.c diff --git a/test/CFrontend/2007-06-18-SextAttrAggregate.c b/test/CFrontend/2007-06-18-SextAttrAggregate.c new file mode 100644 index 00000000000..e5e7fc45ce5 --- /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) { + +}