================
Comment at: test/Sema/dllimport-dllexport.cpp:14
@@ +13,3 @@
+
+typedef int __attribute__((dllexport)) type6; // expected-warning{{'dllexport' 
attribute only applies to variables, functions and tag types}}
+
----------------
Dmitri Gribenko wrote:
> Is there a reason this is not an error?
> 
I didn't introduce this behaviour, so I'm not sure what the original reason was 
to make it a warning. But I just tested it in MSVC and it does not even emit a 
warning in this case (with /Wall), so that might be why.


http://llvm-reviews.chandlerc.com/D34
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to