[LLVMbugs] [Bug 11684] Syntactically illegal pointer-to-function type accepted

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 10 03:07:09 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=11684

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|                            |FIXED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-02-10 05:07:09 CST ---
In r150244.

11684.cpp:4:19: error: pointer to function type cannot have 'const' qualifier
  typedef RETURN (*ref)(const RECEIVER&, ARG1) const;

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list