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

            Bug ID: 46797
           Summary: 'ab' is a valid char constant; is an error with
                    -pedantic-errors
           Product: clang
           Version: 10.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

The C standard says [Character constants clause]: The value of an integer
character constant containing more thane one character (e.g., 'ab') ... is
implementation defined.

clang with -pedantic-errors considers it an error.

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

Reply via email to