1// { dg-do compile { target c++11 } }
2// { dg-options "-fnon-call-exceptions" }
3
4void foo (int *k) noexcept
5{
6  for (;;)
7    *k = 0;
8}
9