http://llvm.org/bugs/show_bug.cgi?id=13312

             Bug #: 13312
           Summary: A weird Unicode character crashes clang
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 8860
  --> http://llvm.org/bugs/attachment.cgi?id=8860
A testcase that crashes clang.

Compiling this C++ program (attached) crashes clang:

struct Foo {
  int bar;
};

int main( ) {
  struct Foo foo;
  (&foo)−>bar = 42;
  return 0;
}

Notice that the -> operator contains a weird unicode character.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to