brintos

brintos / llvm-project-archived public Read only

0
0
Text · 458 B · 4fe7d3c Raw
7 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only -triple=x86_64-linux -std=c++2a -verify=cxx2a %s2// RUN: %clang_cc1 -fsyntax-only -triple=x86_64-linux -std=c++2c -verify=cxx2c %s3 4static_assert(true, "" // cxx2a-warning {{'static_assert' with a user-generated message is a C++26 extension}} \5                       // cxx2a-note {{to match this '('}} cxx2c-note {{to match this '('}}6                       // cxx2a-error {{expected ')'}}     cxx2c-error {{expected ')'}}7