add test that #499 is fixed
This commit is contained in:
parent
631791e14d
commit
7f93ffaa1f
|
@ -347,5 +347,15 @@ unittest
|
||||||
deprecated auto func()(){}
|
deprecated auto func()(){}
|
||||||
}, sac);
|
}, sac);
|
||||||
|
|
||||||
|
assertAnalyzerWarnings(q{
|
||||||
|
class C{} /// a
|
||||||
|
interface I{} /// b
|
||||||
|
enum e = 0; /// c
|
||||||
|
void f(){} /// d
|
||||||
|
struct S{} /// e
|
||||||
|
template T(){} /// f
|
||||||
|
union U{} /// g
|
||||||
|
}, sac);
|
||||||
|
|
||||||
stderr.writeln("Unittest for UndocumentedDeclarationCheck passed.");
|
stderr.writeln("Unittest for UndocumentedDeclarationCheck passed.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue