view gcc/testsuite/g++.dg/cpp0x/variadic149.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

// PR c++/60248
// { dg-do compile { target c++11 } }
// { dg-options "-g -fabi-version=2" }

template<int...> struct A {};

template<> struct A<0>
{
  typedef enum { e } B;
};

A<0> a;