diff options
Diffstat (limited to 'test/Index/Inputs/preamble_macro_template.h')
-rw-r--r-- | test/Index/Inputs/preamble_macro_template.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Index/Inputs/preamble_macro_template.h b/test/Index/Inputs/preamble_macro_template.h new file mode 100644 index 0000000000000..18b076d95cfcd --- /dev/null +++ b/test/Index/Inputs/preamble_macro_template.h @@ -0,0 +1,6 @@ +#define STATIC_CAST static_cast + +template<typename T> +void foo(T *p) { + (void)STATIC_CAST<T*>(0); +} |