[llvm-bugs] [Bug 33894] New: Clang C pre-processor allows invalid words

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 22 08:33:15 PDT 2017


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

            Bug ID: 33894
           Summary: Clang C pre-processor allows invalid words
           Product: clang
           Version: 4.0
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: barto at cambridgesemantics.com
                CC: llvm-bugs at lists.llvm.org

The following has a bad keyword, yet clang will parse it just fine.

#if BADTEST
#include <stdio.h>
#ele
#include <ctype.h>
#endif

#include <stdlib.h>

int main(int, char **)
{
  exit(0);
}

-- 
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/20170722/2e90774f/attachment.html>


More information about the llvm-bugs mailing list