llvm-for-llvmta/tools/clang/test/Misc/diag-trailing-null-bytes.cpp

11 lines
266 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: not %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck -strict-whitespace %s
// CHECK: {{ERR_DNS_SERVER_REQUIRES_TCP$}}
// http://llvm.org/PR12674
#define NET_ERROR(label, value) ERR_ ## label = value,
NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801)
#undef NET_ERROR