http://llvm.org/bugs/show_bug.cgi?id=13739
Bug #: 13739
Summary: nested __if_exists statements are not supported
Product: clang
Version: 3.1
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
The following will compile cleanly on vs10
void foo()
{
int x;
__if_exists(x) {
__if_exists(y) {
}
}
}
whereas clang produces an error
> clang -cc1 test.cpp -fsyntax-only -fms-compatibility
test.cpp:8:3: error: expected expression
__if_exists(y) {
^
--
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