PR tree-optimization/113673: Avoid load merging when potentially trapping.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp81.C
blob37a3417bfdf0067af7621670d5d10c3a1b60291c
1 // { dg-do assemble  }
3 template <int i> class a
5 public :
6 int  k;
8 template <int j> int f() const { return this->f<j-1>(); }
10 int g() const { return f<i>(); }
13 template <>
14 template <>
15 int a<2>::f<0>() const {
16   return 0;
19 int main()
21 a<2> x;
22 return x.g();