thakis added a comment.

Thanks!



================
Comment at: test/PCH/builtin-macro.c:29
+
+const char s[] = __DATE__ " " __TIME__ " " __TIMESTAMP__;
+
----------------
rnk wrote:
> This test doesn't seem to fail if `__DATE__` expands to something. I removed 
> `-D__DATE__=` from the command line and it passes. Can we find a way to make 
> it fail? `int x = __DATE__ 42;`?
Oh, you mean to check that the __DATE__ value from -D is used, instead of the 
value of the builtin? Your suggestion works, good idea.


https://reviews.llvm.org/D27545



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

Reply via email to