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
Remove an unneeded include that was added by mistake.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr85437-2.C
blob
a059e43b770fd3f7c24d4106fbd53038dfc65ebe
1
// PR c++/85437
2
// { dg-do compile { target c++11 } }
3
4
struct A { };
5
struct B : A { int x; };
6
7
constexpr int A::*abx
8
= reinterpret_cast<int(A::*)>(&B::x); // { dg-error "reinterpret.*constant" }