[LLVMbugs] [Bug 16376] New: local structs don't can't refer to each other in a templated function
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Wed Jun 19 08:24:12 PDT 2013
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=16376
            Bug ID: 16376
           Summary: local structs don't can't refer to each other in a
                    templated function
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicstange at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified
Created attachment 10705
  --> http://llvm.org/bugs/attachment.cgi?id=10705&action=edit
Testcase
Hi everybody,
I'm not a language advocate, but the attached code compiles fine with gcc-4.8.1
while it doesn't with the clang++ distributed by Fedora 19 beta (clang version
3.3 (tags/RELEASE_33/rc3)).
It somehow seems to think that there exists a `wrap_bar::bar`.
Best,
Nicolai
-- 
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/20130619/76fb7658/attachment.html>
    
    
More information about the llvm-bugs
mailing list