Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaCXX / warn-unsafe-buffer-usage-test-unreachable.cpp
blob844311c3a51a58a538f285cae6d6ecc631cf702c
1 // RUN: %clang_cc1 -std=c++20 -Wunsafe-buffer-usage -fsafe-buffer-usage-suggestions -verify %s
3 // expected-no-diagnostics
5 typedef unsigned __darwin_size_t;
6 typedef __darwin_size_t size_t;
7 #define bzero(s, n) __builtin_bzero(s, n)
8 void __nosan_bzero(void *dst, size_t sz) { bzero(dst, sz); }