blob: 42dedee291c46ef6a1a9b015ad58f193f4babf8f [file] [log] [blame]
// { dg-do compile }
// { dg-options "-std=c++0x -fnon-call-exceptions" }
void foo (int *k) noexcept
{
for (;;)
*k = 0;
}