mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
17 lines
198 B
C++
17 lines
198 B
C++
|
#include <stdio.h>
|
||
|
|
||
|
/* Make this invalid C++ */
|
||
|
typedef struct {
|
||
|
int i;
|
||
|
char c;
|
||
|
} a;
|
||
|
|
||
|
static a b = { .i = 65, .c = 'r'};
|
||
|
|
||
|
void test() {
|
||
|
b.i = 9;
|
||
|
fflush(stdout);
|
||
|
printf("el");
|
||
|
}
|
||
|
|