minix/external/bsd/llvm/dist/clang/test/Misc/diag-trailing-null-bytes.cpp
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

10 lines
266 B
C++

// 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