Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/ext/typeof8.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// PR c++/14116 // Any use of typeof in a templete was causing an ICE. // { dg-options "" } struct vector { typedef int iterator; }; vector read_queue; template <class T> void f(){ typedef typeof (read_queue) read_queue_t; read_queue_t::iterator it; }