new testcase reduced from the MultiSource/Applications/d failure last night.

llvm-svn: 20490
This commit is contained in:
Chris Lattner 2005-03-06 19:40:19 +00:00
parent 5de9dec0d1
commit a93419c8df
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// RUN: %llvmgcc %s -S -o -
struct Y {};
struct XXX {
struct Y F;
};
void test1() {
(int)&((struct XXX*)(((void *)0)))->F;
}
void test2() {
&((struct XXX*)(((void *)0)))->F;
}