================
Comment at: test/SemaTemplate/function-template-specialization.cpp:61
@@ +60,2 @@
+template <int N> void __attribute__((noreturn)) f3() { 
__builtin_unreachable(); }
+template <> void f3<1>() { }
----------------
Hmm, should we produce a "function declared 'noreturn' should not return" 
warning here? Or does the explicit specialization override the 'noreturn' 
attribute?


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

Reply via email to