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

           Summary: Using declaration not handled
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Hello!

clang version : svn version dated by 18.06.2010
code in !!.cpp ripped from ISO/IEC 14882:2003(E): 7.3.3 The using declaration
(first example) with my minor changes.


CommandLine :
  clang++ -cc1 -emit-pch -x c++ -v -ferror-limit 3 -w   "!!.cpp" -o !ast

and after execution get :
fatal error: error in backend: unexpected declaration kind `Using`
// -----------------------------------------------------------
and after producing asm listing
clang++ -cc1 -S -x c++ -v -ferror-limit 3 -w   "!!.cpp" -o !ast

we get next call chain:

main -> D::f -> B::f.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to