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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ref7.C
blob
72c8d089d7742beba13ab364d18f9af96e9be276
1
// PR c++/57654
2
// { dg-do compile { target c++11 } }
3
4
int i;
5
6
constexpr int & iref = i;
7
constexpr int & irefref = iref;
8
9
class A {
10
static constexpr int & irefref = iref;
11
};