diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2019-08-15 18:38:59 -0400 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2019-08-15 15:38:59 -0700 |
| commit | 77fe3dd74446fb07dd0de31114f7033f111ef868 (patch) | |
| tree | 835044f955d4f2afc02894448864321fca3344df /tests/preprocessor/file-identity/sub-folder | |
| parent | 44506607215247be4bf33c1a629bf39971bc966f (diff) | |
A more convoluted #pragma once file identity test, using relative paths. (#1021)
* A more convoluted #pragma once file identity test, using relative paths.
* Fix bug with passing - to slang as a command line option causes a crash.
Ability to set file-system to use on command line.
#pragma once tests try with 'normal' and 'read-file' only versions
* OSFileSystem -> OSFileSystemExt
LoadFileOSFileSystem -> OSFileSystem
Implemented OSFileSystem like OSFileSystemExt as as singleton.
Fixes to comments.
Diffstat (limited to 'tests/preprocessor/file-identity/sub-folder')
| -rw-r--r-- | tests/preprocessor/file-identity/sub-folder/file-identity.slang | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/preprocessor/file-identity/sub-folder/file-identity.slang b/tests/preprocessor/file-identity/sub-folder/file-identity.slang new file mode 100644 index 000000000..590b32a70 --- /dev/null +++ b/tests/preprocessor/file-identity/sub-folder/file-identity.slang @@ -0,0 +1,13 @@ +//TEST(smoke):SIMPLE: +//TEST(smoke):SIMPLE: -file-system load-file + + +#include "../b.h" +#include "../c.h" + +#include "./../b.h" + +float test(float x) +{ + return foo(x) + bar(x); +}
\ No newline at end of file |
