Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / template / array13.C
blob3bc152ce4f87a67b410fffd5f4dc8ad3f8996e7b
1 // PR c++/20208
2 // { dg-do run }
3 // { dg-options "-O2" }
5 extern "C" void abort();
7 template <typename T>
8 inline void *Foo (T arg) { return &arg[0]; }
10 int main () {
11   int bry[2];
12   if (Foo<int[2]>(bry) != bry)
13     abort();