[cfe-commits] r143997 - /cfe/trunk/test/Misc/integer-literal-printing.cpp
Richard Trieu
rtrieu at google.com
Mon Nov 7 11:30:35 PST 2011
Author: rtrieu
Date: Mon Nov 7 13:30:35 2011
New Revision: 143997
URL: http://llvm.org/viewvc/llvm-project?rev=143997&view=rev
Log:
Remove test with int128 printing since it breaks on some platforms.
Modified:
cfe/trunk/test/Misc/integer-literal-printing.cpp
Modified: cfe/trunk/test/Misc/integer-literal-printing.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/integer-literal-printing.cpp?rev=143997&r1=143996&r2=143997&view=diff
==============================================================================
--- cfe/trunk/test/Misc/integer-literal-printing.cpp (original)
+++ cfe/trunk/test/Misc/integer-literal-printing.cpp Mon Nov 7 13:30:35 2011
@@ -7,15 +7,7 @@
template <unsigned short T> class Type2 {};
template <unsigned short T> void Function2(Type2<T>& x) {} // expected-note{{candidate function [with T = 42] not viable: no known conversion from 'Type2<42>' to 'Type2<42> &' for 1st argument;}}
-template <__int128_t T> class Type3 {};
-template <__int128_t T> void Function3(Type3<T>& x) {} // expected-note{{candidate function [with T = -42] not viable: no known conversion from 'Type3<-42>' to 'Type3<-42i128> &' for 1st argument;}}
-
-template <__uint128_t T> class Type4 {};
-template <__uint128_t T> void Function4(Type4<T>& x) {} // expected-note{{candidate function [with T = 42] not viable: no known conversion from 'Type4<42>' to 'Type4<42Ui128> &' for 1st argument;}}
-
void Function() {
Function1(Type1<-42>()); // expected-error{{no matching function for call to 'Function1'}}
Function2(Type2<42>()); // expected-error{{no matching function for call to 'Function2'}}
- Function3(Type3<-42>()); // expected-error{{no matching function for call to 'Function3'}}
- Function4(Type4<42>()); // expected-error{{no matching function for call to 'Function4'}}
}
More information about the cfe-commits
mailing list