re PR c++/57654 ([c++11] static class member reference-to-a-reference will not compile)
2014-11-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57654 * g++.dg/cpp0x/constexpr-ref7.C: New. From-SVN: r217756
This commit is contained in:
parent
d469883955
commit
6df34b29ae
|
@ -1,3 +1,8 @@
|
||||||
|
2014-11-19 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
|
PR c++/57654
|
||||||
|
* g++.dg/cpp0x/constexpr-ref7.C: New.
|
||||||
|
|
||||||
2014-11-19 Jakub Jelinek <jakub@redhat.com>
|
2014-11-19 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR sanitizer/63913
|
PR sanitizer/63913
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
// PR c++/57654
|
||||||
|
// { dg-do compile { target c++11 } }
|
||||||
|
|
||||||
|
int i;
|
||||||
|
|
||||||
|
constexpr int & iref = i;
|
||||||
|
constexpr int & irefref = iref;
|
||||||
|
|
||||||
|
class A {
|
||||||
|
static constexpr int & irefref = iref;
|
||||||
|
};
|
Loading…
Reference in New Issue