llvm-6502/test/LLVMC/test_data/false.cpp

17 lines
198 B
C++
Raw Normal View History

#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");
}