[llvm-bugs] [Bug 21824] [fuzz] Assertion `getSubExpr()->getType()->isAnyPointerType() && !getSubExpr()->getType()->isBlockPointerType()' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 21 15:28:03 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=21824

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com
         Resolution|---                         |FIXED

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
Appears fixed:
$ clang -cc1 -std=c++11 ~/Downloads/is-block-pointer-type.cpp
C:/Users/rnk/Downloads/is-block-pointer-type.cpp:1:6: error: blocks support
disabled - compile with -fblocks or pick a deployment target that supports them
int (^a) () = (int) Z
     ^
C:/Users/rnk/Downloads/is-block-pointer-type.cpp:1:21: error: use of undeclared
identifier 'Z'
int (^a) () = (int) Z
                    ^
C:/Users/rnk/Downloads/is-block-pointer-type.cpp:1:22: error: expected ';'
after top level declarator
int (^a) () = (int) Z
                     ^
                     ;
3 errors generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161021/73b9b80c/attachment.html>


More information about the llvm-bugs mailing list