mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
[svn r67] Fixed ignore unittests instead of failing to compile
This commit is contained in:
@@ -650,6 +650,11 @@ void FuncDeclaration::toObjFile()
|
||||
return;
|
||||
}
|
||||
|
||||
if (isUnitTestDeclaration()) {
|
||||
Logger::println("*** ATTENTION: ignoring unittest declaration: %s", toChars());
|
||||
return;
|
||||
}
|
||||
|
||||
Type* t = LLVM_DtoDType(type);
|
||||
TypeFunction* f = (TypeFunction*)t;
|
||||
|
||||
|
||||
@@ -3,3 +3,7 @@ module unittest1;
|
||||
unittest
|
||||
{
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user