repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
MIPS32R6 and MIPS64R6 support
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
init14.C
blob
2305fde422cb3166dff8beafac447d4a34bb5d30
1
// { dg-do run }
2
// GROUPS passed initialization
3
// init file
4
// From: hansen@srd.ull.rdc.toshiba.co.jp
5
// Message-Id: <9312130927.AA08192@VLCS151.noname>
6
// Subject: g++ Bug
7
// Date: Mon, 13 Dec 93 18:27:51 +0900
8
9
#include <stdio.h>
10
11
int X = 7;
12
13
struct foo {
14
int a,b,c;
15
};
16
17
struct foo Ack = {5, X, 3};
18
19
int main()
20
{
21
if (Ack.a != 5
22
|| Ack.b != 7
23
|| Ack.c != 3)
24
{ printf ("FAIL\n"); return 1; }
25
else
26
printf ("PASS\n");
27
}