[LLVMbugs] [Bug 14124] Crash on invalid trying to use a member name as an int in a template (?)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Oct 20 20:32:14 PDT 2012


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

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 #2 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-10-20 22:32:14 CDT ---
Fixed in r166385.

<stdin>:11:22: error: invalid use of non-static data member 'value'
  test(Format<Args>::value...);
       ~~~~~~~~~~~~~~^~~~~
<stdin>:15:3: note: in instantiation of function template specialization
      'makeRequest<int>' requested here
  makeRequest(1);
  ^

-- 
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