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

            Bug ID: 32067
           Summary: clang incorrectly treats strlen as an integer constant
                    expression
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Testcase (C):

#include <string.h>
int a[strlen("z")];

clang emits no error, even in -pedantic mode.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to