xref: /minix3/external/bsd/llvm/dist/clang/test/Misc/diag-trailing-null-bytes.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: not %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck -strict-whitespace %s
2*f4a2713aSLionel Sambuc // CHECK: {{ERR_DNS_SERVER_REQUIRES_TCP$}}
3*f4a2713aSLionel Sambuc 
4*f4a2713aSLionel Sambuc // http://llvm.org/PR12674
5*f4a2713aSLionel Sambuc #define NET_ERROR(label, value) ERR_ ## label = value,
6*f4a2713aSLionel Sambuc 
7*f4a2713aSLionel Sambuc NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801)
8*f4a2713aSLionel Sambuc 
9*f4a2713aSLionel Sambuc #undef NET_ERROR
10*f4a2713aSLionel Sambuc 
11