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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
static13.C
blob
c43f5554739a9376c5f10feb4f4a7a4386c78dbc
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
};