[llvm-bugs] [Bug 34425] New: Clang fails to compile a program with function definition inside function.

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Sep 2 02:34:48 PDT 2017


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

            Bug ID: 34425
           Summary: Clang fails to compile a program with function
                    definition inside function.
           Product: clang
           Version: trunk
          Hardware: HP
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: CS15BTECH11029 at iith.ac.in
                CC: llvm-bugs at lists.llvm.org

In C when there is a function defined inside other function, clang gives error
whereas GCC and ICC compiles it. For c++, all three of them gives error. Since
in case of C code, only clang is odd one, I think it should be corrected.

-- 
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/20170902/795319bf/attachment.html>


More information about the llvm-bugs mailing list