diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-02-07 16:56:57 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-02-07 16:56:57 +0000 |
commit | 76699050049febe4c7eb0199cd0ae9d13fb36b74 (patch) | |
tree | 612fd98f279355c529390f0c7f431ebd1f0dbc27 /c_lexer/test | |
parent | 9d94e43d23698f4804060c82482966da9680faa1 (diff) | |
download | Compiler-76699050049febe4c7eb0199cd0ae9d13fb36b74.tar.gz Compiler-76699050049febe4c7eb0199cd0ae9d13fb36b74.zip |
Changing file structure
Diffstat (limited to 'c_lexer/test')
-rw-r--r-- | c_lexer/test/.gitignore | 2 | ||||
-rw-r--r-- | c_lexer/test/test_lex.c | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/c_lexer/test/.gitignore b/c_lexer/test/.gitignore new file mode 100644 index 0000000..94ca778 --- /dev/null +++ b/c_lexer/test/.gitignore @@ -0,0 +1,2 @@ +output.json +pre_processed_test_lex.c diff --git a/c_lexer/test/test_lex.c b/c_lexer/test/test_lex.c new file mode 100644 index 0000000..9db9054 --- /dev/null +++ b/c_lexer/test/test_lex.c @@ -0,0 +1,14 @@ +#include <stdlib.h> +#include <stdio.h> +#include <assert.h> +#include <math.h> + +#define POTATO 5 + +int main(int argc, char* argv[]) { + char* h = "Hello World\""; + int j = POTATO; + int u = 2398uL; + float rt = 23.238e-283; + return 0; +} |