================ @@ -0,0 +1,146 @@ +// RUN: %clang_cc1 -fsyntax-only -verify -Wconditional-scope -DTEST_1 %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wconditional-scope -DTEST_2 %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wconditional-scope -DTEST_3 %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wconditional-scope -DTEST_4 %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wconditional-scope -DTEST_5 %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wconditional-scope -DTEST_6 %s + +int *get_something(); +int *get_something_else(); +int *get_something_else_again(); +int *get_something_else_again_now(); + +#ifdef TEST_1 ---------------- erichkeane wrote:
Don't use macros like this in the test, just do all of these in the same 'run' line. https://github.com/llvm/llvm-project/pull/156436 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
