diff --git a/tests/cases/compiler/noDefaultLib.ts b/tests/cases/compiler/noDefaultLib.ts
index 92c8a63fc64..718f5e216b8 100644
--- a/tests/cases/compiler/noDefaultLib.ts
+++ b/tests/cases/compiler/noDefaultLib.ts
@@ -1,3 +1,4 @@
+// @noLib: true
///
var x;
diff --git a/tests/cases/conformance/decorators/1.0lib-noErrors.ts b/tests/cases/conformance/decorators/1.0lib-noErrors.ts
index 6966e3e70d0..c070dd6966c 100644
--- a/tests/cases/conformance/decorators/1.0lib-noErrors.ts
+++ b/tests/cases/conformance/decorators/1.0lib-noErrors.ts
@@ -1,4 +1,5 @@
// @target: ES5
+// @noLib: true
/* *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
diff --git a/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts b/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts
index f33abc85b53..bf795084568 100644
--- a/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts
+++ b/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts
@@ -1,3 +1,4 @@
+// @noLib: true
///
///
declare function foo(): void;