Add a testcase that r168411 would break.

llvm-svn: 168669
This commit is contained in:
Rafael Espindola 2012-11-27 01:56:54 +00:00
parent 3d51b9f957
commit 9c235640e1
1 changed files with 11 additions and 0 deletions

View File

@ -37,3 +37,14 @@ void foo6096412(void) {
int x = sizeof(i6096412);
}
typedef int test1_IA[];
typedef int test1_A10[10];
static test1_A10 *test1_f(void);
void test1_g(void)
{
{
extern test1_IA *test1_f(void);
}
(void)sizeof(*test1_f());
}