No, they 'X' and 'G' are not the same in GDB.
(gdb) p X
$1 = (const _GUID *) 0x4005f0 <_GUID_12345678_1234_1234_1234_1234567890ab>
(gdb) p G
$2 = <optimized out>
================
Comment at: test/CodeGenCXX/debug-info-template.cpp:102
@@ +101,3 @@
+struct __declspec(uuid("{12345678-1234-1234-1234-1234567890ab}")) uuid;
+template <const struct _GUID *>
+struct tmpl_guid {
----------------
David Blaikie wrote:
> Do you need the 'struct' keyword here? I assume not.
We do, otherwise we error out with "error: unknown type name '_GUID'"
http://llvm-reviews.chandlerc.com/D1453
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits