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
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
static13.C
1
// PR c++/23099
2
3
struct Base {
4
int x;
5
};
6
7
template <typename T>
8
struct A {
9
static const int N = sizeof(static_cast<Base*>(T()));
10
};
11
12
struct Derived : Base {
13
A<Derived*> a;
14
};