Debian Codegraph @

clang/test/C/C2y/n3478.c

raw
1 // RUN: %clang_cc1 -verify -std=c2y %s
2 // RUN: %clang_cc1 -verify -std=c23 %s
3
4 /* WG14 N3478: Yes
5 * Slay Some Earthly Demons XIII
6 *
7 * It was previously UB to end a source file with a partial preprocessing token
8 * or a partial comment. Clang has always diagnosed these.
9 */
10
11 // expected-error@+1 {{unterminated /* comment}}
12 /*