llvm-project/clang/test/Sema/pre-c2x-compat.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
193 B
C
Raw Normal View History

// RUN: %clang_cc1 %s -std=c2x -Wpre-c2x-compat -pedantic -fsyntax-only -verify
int digit_seps = 123'456; // expected-warning {{digit separators are incompatible with C standards before C2x}}