зеркало из https://github.com/microsoft/clang-1.git
Update source location in test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160964 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
e5e8f4d2db
Коммит
aa1e192870
|
@ -27,9 +27,8 @@ class CopyCtor {
|
|||
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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче