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