* g++.old-deja/g++.other/init15.C: New test.
From-SVN: r34648
This commit is contained in:
parent
990e895418
commit
5680375210
@ -1,3 +1,7 @@
|
||||
2000-06-22 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.other/init15.C: New test.
|
||||
|
||||
2000-06-22 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.pt/vaarg2.C: New test.
|
||||
|
22
gcc/testsuite/g++.old-deja/g++.other/init15.C
Normal file
22
gcc/testsuite/g++.old-deja/g++.other/init15.C
Normal file
@ -0,0 +1,22 @@
|
||||
// Build don't link:
|
||||
// Copyright (C) 2000 Free Software Foundation
|
||||
// Contributed by Nathan Sidwell 21 June 2000 <nathan@codesourcery.com>
|
||||
|
||||
// Origin GNATS bug report 136 from
|
||||
// language specific constants caused the backend's constant caching machinery
|
||||
// to fall over.
|
||||
|
||||
struct A {
|
||||
char *name;
|
||||
int reserved;
|
||||
int a;
|
||||
int b;
|
||||
void (A::*func)();
|
||||
void Fn ();
|
||||
};
|
||||
|
||||
void Interpret() {
|
||||
struct A cmd_list =
|
||||
{"a",0,0, 0,&A::Fn}
|
||||
;
|
||||
}
|
Loading…
Reference in New Issue
Block a user