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
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-union6.C
blob
96d48182c3d22ab45f82ae3b7033e7ccae770026
1
// PR c++/60184
2
// { dg-do compile { target c++11 } }
3
4
union Test1 {
5
static constexpr int kConstant = 10;
6
};
7
8
union Test2 {
9
static constexpr const int& kConstant = Test1::kConstant;
10
};