aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-pr67685.C
blob: 82f068e50e234a01b2338ac52bbc6b0ad6380400 (plain)
1
2
3
4
5
6
7
// PR c++/67685
// { dg-do compile { target c++14 } }
// { dg-additional-options "-fconcepts" }

void f(auto i) {requires {i;};}

int main() {f(0);}