[PATCH] D16351: [FIX] Bug 25404 - Crash on typedef in OpenCL 2.0
Igor Chesnokov via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 7 09:19:44 PST 2016
ichesnokov added inline comments.
================
Comment at: test/SemaOpenCL/implicit-typedef.cl:4
@@ +3,3 @@
+
+#if defined(TEST_WARNINGS)
+typedef atomic_int atomic_flag; // expected-warning {{redefinition of OpenCL builtin typedef 'atomic_flag'}}
----------------
Thank you, Anastasia!
I just posted new patch.
http://reviews.llvm.org/D16351
More information about the cfe-commits
mailing list