blob: 26d3c48a6214c6292767171f4724af9b10ff9d91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* { dg-do compile } */
/* { dg-options "-O2 -fcheck-pointer-bounds -mmpx" } */
namespace
{
template <int dim>
int __attribute__((noinline))
f1 ()
{
return dim;
}
}
int
test ()
{
return f1<3> ();
}
|