http://llvm.org/bugs/show_bug.cgi?id=12070
Bug #: 12070
Summary: clang rejects valid program with -cxx-abi microsoft
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
$ cat test.cc
class A {
public:
typedef int (A::*Foo)(int);
};
hummer:src thakis$ ~/src/llvm-svn/Release+Asserts/bin/clang -c test.cc -Xclang
-cxx-abi -Xclang microsoft
test.cc:3:19: error: incomplete type 'A' where a complete type is required
typedef int (A::*Foo)(int);
^
test.cc:1:7: note: definition of 'A' is not complete until the closing '}'
class A {
^
1 error generated.
Works fine without -cxx-abi.
--
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