Debian Codegraph @

gcc/testsuite/g++.dg/concepts/pr71127.C

raw
1 // { dg-do compile { target c++17 } }
2 // { dg-options "-fconcepts" }
3
4 template<template<typename> class T>
5 concept C = T<int>::value;
6
7 C c = 1; // { dg-error "does not constrain a type" }