diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2013-10-29 17:42:34 +0100 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2013-10-29 17:42:34 +0100 |
commit | 8f1093f0e00f9b1df7ce343a879303fd56a95d08 (patch) | |
tree | 6aaf0720c2093ba05cb81ba7f95b4e9808b3ecab /tests/syntax/good | |
download | LPC-Projet-8f1093f0e00f9b1df7ce343a879303fd56a95d08.tar.gz LPC-Projet-8f1093f0e00f9b1df7ce343a879303fd56a95d08.zip |
First commit.
Diffstat (limited to 'tests/syntax/good')
-rw-r--r-- | tests/syntax/good/testfile-assign-1.cpp | 1 | ||||
-rw-r--r-- | tests/syntax/good/testfile-compare-1.cpp | 1 | ||||
-rw-r--r-- | tests/syntax/good/testfile-for-1.cpp | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/syntax/good/testfile-assign-1.cpp b/tests/syntax/good/testfile-assign-1.cpp new file mode 100644 index 0000000..12cdbee --- /dev/null +++ b/tests/syntax/good/testfile-assign-1.cpp @@ -0,0 +1 @@ +void m() { int x; int y; y = x = 0; } diff --git a/tests/syntax/good/testfile-compare-1.cpp b/tests/syntax/good/testfile-compare-1.cpp new file mode 100644 index 0000000..81373c8 --- /dev/null +++ b/tests/syntax/good/testfile-compare-1.cpp @@ -0,0 +1 @@ +int m() { return 1==2 && 3==4 || !(5>=6); } diff --git a/tests/syntax/good/testfile-for-1.cpp b/tests/syntax/good/testfile-for-1.cpp new file mode 100644 index 0000000..71f985d --- /dev/null +++ b/tests/syntax/good/testfile-for-1.cpp @@ -0,0 +1,2 @@ +int main() { for(;;); } + |