diff options
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(;;); } + |