aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/lambda-generic-ttp1.C
blob: 27b56fc199c4657ed3c1fdf0c32709a5c3eb115f (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/109651
// { dg-do compile { target c++20 } }

template<class T>
void f() {
  []<class U>(U) {
    []<template<class> class TT>(TT<int>) { };
  }(0);
}

template void f<int>();