mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 03:36:07 +00:00

This renames C2x to C23 in diagnostic identifiers and messages. The changes were made mechanically.
6 lines
339 B
C
6 lines
339 B
C
// RUN: %clang_cc1 -fsyntax-only -std=c2x -Wpre-c2x-compat -verify=pre-c2x %s
|
|
// RUN: %clang_cc1 -fsyntax-only -std=c17 -Wc2x-extensions -verify=c2x-ext %s
|
|
|
|
[[]] void func(); // pre-c2x-warning {{[[]] attributes are incompatible with C standards before C23}}
|
|
// c2x-ext-warning@-1 {{[[]] attributes are a C23 extension}}
|