]> git.ipfire.org Git - thirdparty/gcc.git/blob - libphobos/testsuite/libphobos.exceptions/unittest_assert.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / libphobos / testsuite / libphobos.exceptions / unittest_assert.d
1 // { dg-options "-funittest" }
2 // { dg-shouldfail "unittest_assert msg" }
3 // { dg-output "core.exception.AssertError@.*: unittest_assert msg" }
4 unittest
5 {
6 assert(0, "unittest_assert msg");
7 }
8
9 void main()
10 {
11 }