1#include <stdio.h>
2#include <stdlib.h> // exit(), EXIT_SUCCESS
3
4#include "test.h" // PASS(), FAIL(), XPASS(), XFAIL()
5
6extern void set_x_1(int);
7extern void set_x_2(int);
8extern int  get_x_1(void);
9extern int  get_x_2(void);
10
11int main()
12{
13	set_x_1 (17);
14	set_x_2 (76);
15
16	if (get_x_1() == 76 && get_x_2() == 76)
17		PASS("weak-coalesce=c++");
18	else
19		FAIL("weak-coalesce=c++");
20}
21