new testcase reduced from the MultiSource/Applications/d failure last night.
llvm-svn: 20490
This commit is contained in:
parent
5de9dec0d1
commit
a93419c8df
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue