mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-02 00:42:52 +01:00
5a403195b3
llvm-svn: 50761
18 lines
216 B
C++
18 lines
216 B
C++
/* 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");
|
|
}
|
|
|