summaryrefslogtreecommitdiff
path: root/test/LLVMC/test_data/false.cpp
blob: 593fcd5805a3e3e43fa56c03f6dc76df5ad7d8ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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");
}