summaryrefslogtreecommitdiff
path: root/tests/manual/cplusplus
diff options
context:
space:
mode:
authorRoberto Raggi <qtc-committer@nokia.com>2009-01-07 09:47:00 +0100
committerRoberto Raggi <qtc-committer@nokia.com>2009-01-07 09:47:00 +0100
commit8459fe70d6c80262fab59b83da3ea917722539f3 (patch)
tree450701e7e1d6b097145debf532ed016752f2294b /tests/manual/cplusplus
parentbbb570481b3a3e7bcae81732ec43f20228805b11 (diff)
downloadqt-creator-8459fe70d6c80262fab59b83da3ea917722539f3.tar.gz
Added a simple test for the rewriter.
Diffstat (limited to 'tests/manual/cplusplus')
-rw-r--r--tests/manual/cplusplus/tests/t1.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/manual/cplusplus/tests/t1.cpp b/tests/manual/cplusplus/tests/t1.cpp
new file mode 100644
index 0000000000..36e1340555
--- /dev/null
+++ b/tests/manual/cplusplus/tests/t1.cpp
@@ -0,0 +1,12 @@
+
+class foo {
+ int a, b;
+
+ enum zoo { a, b };
+
+ typedef enum { k };
+
+ void foo() {}
+ inline void bar() {}
+};
+