Basic codegen test for conditional with void*.
llvm-svn: 46940
This commit is contained in:
parent
fadc8462be
commit
de4496bb9e
@ -19,3 +19,9 @@ void test4() {
|
||||
int i; short j;
|
||||
float* k = 1 ? &i : &j;
|
||||
}
|
||||
|
||||
void test5() {
|
||||
const int* cip;
|
||||
void* vp;
|
||||
cip = 0 ? vp : cip;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user