aboutsummaryrefslogtreecommitdiff
path: root/tests/iii/template-header-errors/case.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/iii/template-header-errors/case.json')
-rw-r--r--tests/iii/template-header-errors/case.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/iii/template-header-errors/case.json b/tests/iii/template-header-errors/case.json
new file mode 100644
index 0000000..f74cc0d
--- /dev/null
+++ b/tests/iii/template-header-errors/case.json
@@ -0,0 +1,36 @@
+{
+ "errors": [
+ {
+ "reason": "Duplicate template parameter",
+ "line": 1
+ },
+ {
+ "reason": "template parameter pack must be last",
+ "line": 6
+ },
+ {
+ "reason": "only one parameter pack",
+ "line": 10
+ },
+ {
+ "reason": "TEMPLATE cannot prefix TYPE",
+ "line": 14
+ },
+ {
+ "reason": "Operator templates are not supported",
+ "line": 17
+ },
+ {
+ "reason": "TEMPLATE declarations are only allowed at top level",
+ "line": 23
+ },
+ {
+ "reason": "TEMPLATE declarations are only allowed at top level",
+ "line": 30
+ },
+ {
+ "reason": "Expected '<' after TEMPLATE",
+ "line": 35
+ }
+ ]
+}