OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
init11.C
1
// GROUPS passed initialization
2
// init file
3
// From: hansen@srd.ull.rdc.toshiba.co.jp
4
// Date: Mon, 13 Dec 93 18:27:51 +0900
5
// Subject: g++ Bug
6
// Message-ID: <9312130927.AA08192@VLCS151.noname>
7
8
#include <stdio.h>
9
10
int X = 7;
11
12
struct foo {
13
int a,b,c;
14
};
15
16
struct foo Ack = {5, X, 3};
17
18
main()
19
{
20
if (Ack.a == 5 && Ack.b == 7 && Ack.c == 3)
21
printf ("PASS\n");
22
else
23
printf ("FAIL\n");
24
}