rsmith added inline comments.

================
Comment at: test/SemaCXX/atomic-type.cpp:5
 template<typename T> struct atomic {
-  _Atomic(T) value;
+  _Atomic(T) value; // expected-error {{field has incomplete type 
'_Atomic(user<int>::inner)'}}
 
----------------
This is a bug. You need to teach `RequireCompleteType` to look through atomic 
types when looking for a class type to instantiate.


https://reviews.llvm.org/D46112



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to