mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-28 17:06:31 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50761 91177308-0d34-0410-b5e6-96231b3b80d8
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");
|
|
}
|
|
|