repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RTEMS: Add Cortex-M33 multilib
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr98136.C
blob
f3c27f6b09f66d18a225ee521cb862942ff96e53
1
// { dg-do compile { target { ilp32 || lp64 } } }
2
3
struct AddIn
4
{
5
virtual ~AddIn() {}
6
virtual void AddInCall()=0;
7
};
8
9
struct Base
10
{
11
char b[32*1024*1024]; // Anything bigger than 16mb causes internal compiler error
12
virtual ~Base() {}
13
};
14
15
struct Deriv : public Base,
16
public AddIn
17
{
18
void AddInCall() {}
19
};
20
21
int main (int argc, char **argv)
22
{
23
Deriv deriv;
24
deriv.AddInCall();
25
return 0;
26
}