blob: a43fb9f98e26dc8ae977f2eb5f32ae89b4a8bc59 [file] [log] [blame]
// ensure an audit level assert with a failing predicate does not generate an
// error during runtime when the contract build level is default
// { dg-do run }
// { dg-options "-std=c++2a -fcontracts" }
int main()
{
int x = 1;
[[assert audit: x < 0]];
return 0;
}