================ @@ -0,0 +1,33 @@ +// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s + +// When performing compound assignment on atomic_bool, ensure that we +// correctly handle the conversion from integer to boolean, by comparing +// with zero rather than truncating. + +#include <stdatomic.h> +#include <stdbool.h> ---------------- zwuis wrote:
Do not `#include` files outside test folder. You can see other tests in the same folder. https://github.com/llvm/llvm-project/pull/178220 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
