Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/template/ptrmem32.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
// PR c++/85739 struct l { int k; }; template <int l::*> class b { }; template <const int l::*> class B { typedef int e; }; template <int l::*i, const int l::*n> bool operator!=(B<n>, b<i>); bool bb = (B<&l::k>() != b<&l::k>());