diff options
Diffstat (limited to 'clang/test/CodeGenCXX/mangle-ms-templates-memptrs.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/mangle-ms-templates-memptrs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/mangle-ms-templates-memptrs.cpp b/clang/test/CodeGenCXX/mangle-ms-templates-memptrs.cpp index 0d30b9efb4f..803cac3748b 100644 --- a/clang/test/CodeGenCXX/mangle-ms-templates-memptrs.cpp +++ b/clang/test/CodeGenCXX/mangle-ms-templates-memptrs.cpp @@ -22,6 +22,10 @@ int ReadField(T &o) { return F ? o.*F : 0; } +// Redeclare some of the classes so that the implicit attribute goes on the most +// recent redeclaration rather than the definition. +struct V; + void ReadFields() { A a; I i; |