summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1y/pr59635.C
blob: 80d9f4de43c0645c5363b9332ef66525ddb08691 (plain)
1
2
3
4
5
6
// PR c++/59635
// { dg-do compile { target c++1y } }

auto f = [] (auto, ...) { return 0; };

int (*p) (int, ...) = f;  // { dg-message "unimplemented" }