[cfe-commits] r81774 - /cfe/trunk/test/SemaCXX/conversion-delete-expr.cpp
Fariborz Jahanian
fjahanian at apple.com
Mon Sep 14 10:32:50 PDT 2009
Author: fjahanian
Date: Mon Sep 14 12:32:50 2009
New Revision: 81774
URL: http://llvm.org/viewvc/llvm-project?rev=81774&view=rev
Log:
Removed couple of FIXME comments from test case.
Modified:
cfe/trunk/test/SemaCXX/conversion-delete-expr.cpp
Modified: cfe/trunk/test/SemaCXX/conversion-delete-expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/conversion-delete-expr.cpp?rev=81774&r1=81773&r2=81774&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/conversion-delete-expr.cpp (original)
+++ cfe/trunk/test/SemaCXX/conversion-delete-expr.cpp Mon Sep 14 12:32:50 2009
@@ -74,7 +74,7 @@
template<typename T> operator T*() const; // converts to any pointer!
};
-void f5(X1 x) { delete x; } // FIXME. May have to issue error here too.
+void f5(X1 x) { delete x; } // OK. In selecting a conversion to pointer function, template convesions are skipped.
// Test7
struct Base {
@@ -102,7 +102,7 @@
void foo7 (DD d)
{
- // FIXME. We select DD::operator int *() const; g++ issues ambiguity error. Investigate.
+ // OK. In selecting a conversion to pointer function, template convesions are skipped.
delete d;
}
More information about the cfe-commits
mailing list