summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/unit/setBreakpoint-on-line-with-no-offsets-in-gcd-script.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/server/tests/unit/setBreakpoint-on-line-with-no-offsets-in-gcd-script.js')
-rw-r--r--devtools/server/tests/unit/setBreakpoint-on-line-with-no-offsets-in-gcd-script.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/devtools/server/tests/unit/setBreakpoint-on-line-with-no-offsets-in-gcd-script.js b/devtools/server/tests/unit/setBreakpoint-on-line-with-no-offsets-in-gcd-script.js
new file mode 100644
index 000000000..b03d40079
--- /dev/null
+++ b/devtools/server/tests/unit/setBreakpoint-on-line-with-no-offsets-in-gcd-script.js
@@ -0,0 +1,9 @@
+"use strict";
+
+function f() {}
+
+(function () {
+ var a = 1;
+
+ var c = 3;
+})();