Mercurial > projects > dstress
annotate run/invariant_10.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | 1e6afb94ce6d |
children |
rev | line source |
---|---|
374 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
59 | 5 // the name function name "_invariant" isn't forbidden (dmd-0.104 documentation) |
736 | 6 |
59 | 7 module dstress.run.invariant_10; |
8 | |
9 class MyClass{ | |
10 void _invariant(){ | |
11 assert(0); | |
12 } | |
13 } | |
14 | |
15 int main(){ | |
16 MyClass c = new MyClass(); | |
17 return 0; | |
18 } |