"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/fail_compilation/test19176.d" between
dmd-2.094.1.tar.gz and dmd-2.094.2.tar.gz

About: DMD (Digital Mars D) is the D reference compiler. D is an object-oriented, imperative, multi-paradigm system programming language.

test19176.d  (dmd-2.094.1):test19176.d  (dmd-2.094.2)
/* /*
REQUIRED_ARGS: -unittest REQUIRED_ARGS: -unittest
TEST_OUTPUT: TEST_OUTPUT:
--- ---
fail_compilation/test19176.d(19): Error: `static if` conditional cannot be at gl fail_compilation/test19176.d(13): Error: argument `foo()` to __traits(getUnitTes
obal scope ts) must be a module or aggregate, not a template
fail_compilation/test19176.d(14): Error: `tuple()` has no effect
--- ---
*/ */
// https://issues.dlang.org/show_bug.cgi?id=19176 // https://issues.dlang.org/show_bug.cgi?id=19176
void main() void main()
{ {
__traits(getUnitTests, foo); __traits(getUnitTests, foo);
} }
 End of changes. 1 change blocks. 
3 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)