mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
28345b9193
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6310 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
270 B
C
21 lines
270 B
C
#include <stdio.h>
|
|
|
|
typedef union {
|
|
float *__fptr;
|
|
int *__iptr;
|
|
} UNION __attribute__ ((__transparent_union__));
|
|
|
|
int try(UNION U) {
|
|
return 1;
|
|
}
|
|
int test() {
|
|
int I;
|
|
float F;
|
|
return try(&I) | try(&F);
|
|
}
|
|
|
|
int main() {
|
|
if (test()) printf("ok");
|
|
return 0;
|
|
}
|