Debian Codegraph @

gcc/testsuite/g++.dg/other/pr80423.C

raw
1 // PR middle-end/80423
2 // { dg-do compile { target c++11 } }
3
4 typedef unsigned char uint8_t;
5 struct A {
6 template <int N> A(unsigned char (&)[N]);
7 };
8 void fn1(A) {
9 uint8_t a[]{0};
10 fn1(a);
11 }