http://llvm.org/bugs/show_bug.cgi?id=17657
Bug ID: 17657
Summary: bogus error with non-type template argument
Product: clang
Version: 3.3
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
The compiler complains with "error: non-type template argument is not a pointer
to member constant" for the last line of the following code.
struct a
{
union {int i;};
};
template <int (a::*)> struct b;
typedef b<&a::i> c;
--
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