From bcf86d8ddbb9a85810e3d3354cd828025dfd4156 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 21 Aug 2003 18:25:37 +0000 Subject: [PATCH] Yet another testcase distilled from emacs by Misha! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8010 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2003-08-21-StmtExpr.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/CFrontend/2003-08-21-StmtExpr.c diff --git a/test/CFrontend/2003-08-21-StmtExpr.c b/test/CFrontend/2003-08-21-StmtExpr.c new file mode 100644 index 00000000000..a5eefe70b2a --- /dev/null +++ b/test/CFrontend/2003-08-21-StmtExpr.c @@ -0,0 +1,10 @@ + +typedef struct { + unsigned long val; +} structty; + +void bar(structty new_mask); +static void foo() { + bar(({ structty mask; mask; })); +} + -- 2.34.1