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

            Bug ID: 16094
           Summary: Parser error with objc++
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified

We used to accept

@class NSString;
extern "C" NSString *NSUserName(void);
void foo() {
  [NSUserName() UTF8String];
}

with  -std=c++11, but we now produce an error:

test.mii:4:15: error: expected expression
  [NSUserName() UTF8String];

-- 
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