erichkeane added a comment.

I had two suggestions for more tests, but this is probably covering everything.



================
Comment at: clang/test/C/C2x/n2322.c:44
+  ) == 2007);
+}
+
----------------
I might suggest:

_Static_assert(555 == __\
LI\
NE\
__)

Which, is basically exactly what the first bullet point in J.1 is trying to 
figure out (it should be the opening character).

I think this is a repeat of the string-literal test, but it is basically 
exactly what they were talking about with PP-token.

Not a great addition to this file perhaps, but something with #warning might be 
a nice exercise of the pp-directive, to make sure it hits the diagnostics 
engine right?




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136942/new/

https://reviews.llvm.org/D136942

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to