diff --git a/test/Regression/CFrontend/2003-08-21-StmtExpr.c b/test/Regression/CFrontend/2003-08-21-StmtExpr.c new file mode 100644 index 00000000000..a5eefe70b2a --- /dev/null +++ b/test/Regression/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; })); +} +