☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction3.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction3.C
code
plain
raw
1
// { dg-do compile { target c++17 } }
2
3
template <int I>
4
struct A { };
5
6
template <int I>
7
struct B
8
{
9
template<template<int>class T>
10
B(T<I>);
11
};
12
13
A<42> a;
14
B b (a);