Index: test/_data/synthetic/synthetic.dart |
diff --git a/test/_data/synthetic/synthetic.dart b/test/_data/synthetic/synthetic.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..56c5cee24ae1e7d0efb195ecb386874ddcb85dd6 |
--- /dev/null |
+++ b/test/_data/synthetic/synthetic.dart |
@@ -0,0 +1,6 @@ |
+// Verifies that synthetic nodes don't get lints. |
+// The simple identifier synthesized after `XXX` below triggers the |
+// `non_constant_identifier_names` lint. |
+// See: https://github.com/dart-lang/linter/issues/193 |
+void main() { } |
+XXX |