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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
init15.C
blob
a84bfa1d377909ca5442b2ee2698c885b4381095
1
// { dg-do assemble }
2
// Copyright (C) 2000 Free Software Foundation
3
// Contributed by Nathan Sidwell 21 June 2000 <nathan@codesourcery.com>
4
5
// Origin GNATS bug report 136 from
6
// language specific constants caused the backend's constant caching machinery
7
// to fall over.
8
9
struct A {
10
char *name;
11
int reserved;
12
int a;
13
int b;
14
void (A::*func)();
15
void Fn ();
16
};
17
18
void Interpret() {
19
struct A cmd_list =
20
{"a",0,0, 0,&A::Fn}
21
;
22
}