OK, this is PR11170 Bug 11170 - dllexport/dllimport should be allowed for full classes/structs http://llvm.org/bugs/show_bug.cgi?id=11170 which is not solved yet. Regards, Michel