[cfe-commits] r160964 - /cfe/trunk/test/CXX/class/class.union/p1.cpp
Benjamin Kramer
benny.kra at googlemail.com
Mon Jul 30 09:51:34 PDT 2012
Author: d0k
Date: Mon Jul 30 11:51:34 2012
New Revision: 160964
URL: http://llvm.org/viewvc/llvm-project?rev=160964&view=rev
Log:
Update source location in test.
Modified:
cfe/trunk/test/CXX/class/class.union/p1.cpp
Modified: cfe/trunk/test/CXX/class/class.union/p1.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/class/class.union/p1.cpp?rev=160964&r1=160963&r2=160964&view=diff
==============================================================================
--- cfe/trunk/test/CXX/class/class.union/p1.cpp (original)
+++ cfe/trunk/test/CXX/class/class.union/p1.cpp Mon Jul 30 11:51:34 2012
@@ -27,9 +27,8 @@
CopyCtor(CopyCtor &cc) { abort(); } // expected-note 4 {{because type 'CopyCtor' has a user-declared copy constructor}}
};
-// FIXME: this should eventually trigger on the operator's declaration line
-class CopyAssign { // expected-note 4 {{because type 'CopyAssign' has a user-declared copy assignment operator}}
- CopyAssign& operator=(CopyAssign& CA) { abort(); }
+class CopyAssign {
+ CopyAssign& operator=(CopyAssign& CA) { abort(); } // expected-note 4 {{because type 'CopyAssign' has a user-declared copy assignment operator}}
};
class Dtor {
More information about the cfe-commits
mailing list