aboutsummaryrefslogtreecommitdiff
path: root/libphobos/testsuite/libphobos.exceptions/unittest_assert.d
blob: bb4f2c214b6527e40aa6ae063a802e749ec11165 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options "-funittest" }
// { dg-shouldfail "unittest_assert msg" }
// { dg-output "core.exception.AssertError@.*: unittest_assert msg" }
unittest
{
    assert(0, "unittest_assert msg");
}

void main()
{
}