(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
torture/
pr47559.C
// { dg-do compile }
// { dg-options "-std=c++0x -fnon-call-exceptions" }

void foo (int *k) noexcept
{
  for (;;)
    *k = 0;
}