summaryrefslogtreecommitdiff
path: root/test/scanners/cpp/elvis.in.cpp
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-04-14 23:59:03 +0000
committermurphy <murphy@rubychan.de>2010-04-14 23:59:03 +0000
commit200144dd009d33ff8334be24d0fb2cc91b3a87ab (patch)
treef46c939cd01b8d4165b5d9f3444c20e072b51408 /test/scanners/cpp/elvis.in.cpp
parent612a14e17bdae5dbb5b13cdceec797523725cbbe (diff)
downloadcoderay-200144dd009d33ff8334be24d0fb2cc91b3a87ab.tar.gz
Moving scanner tests into separate repository. The repository can be reached at http://svn.rubychan.de/coderay-scanner-tests/trunk.
Diffstat (limited to 'test/scanners/cpp/elvis.in.cpp')
-rw-r--r--test/scanners/cpp/elvis.in.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/scanners/cpp/elvis.in.cpp b/test/scanners/cpp/elvis.in.cpp
deleted file mode 100644
index 9cdd574..0000000
--- a/test/scanners/cpp/elvis.in.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-This?is+no:label;
-
-// This is only one label:
-label: switch (TYPE(v)) {
- case T_CLASS: case T_MODULE:
- rb_str_append(s, rb_inspect(v));
- break;
- default:
- rb_str_append(s, rb_any_to_s(v));
- break;
-}
-// These are two labels.
-function(call);
-label2: label3: a = b + c;
-
-// Another label.
-if (1) {
- label4: a = b + c;
-}
-
-// Not a label.
-test(
- a?
- b:
- c
-) \ No newline at end of file