mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-08 02:54:56 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@8177 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d18a417986
commit
d22f4b9ebc
5 changed files with 26 additions and 1 deletions
|
|
@ -7,7 +7,11 @@ file
|
|||
test1.in,
|
||||
test1.out,
|
||||
test2.in,
|
||||
test2.out;
|
||||
test2.out,
|
||||
test3.in,
|
||||
test3.out,
|
||||
test4.in,
|
||||
test4.out;
|
||||
|
||||
mainconfig
|
||||
"" = "SSE2";
|
||||
|
|
|
|||
9
autotest/CppParser/test3.in
Normal file
9
autotest/CppParser/test3.in
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
extern "C++"
|
||||
{
|
||||
template <size_t _Size, typename _DstType>
|
||||
inline
|
||||
typename _CrtEnableIf<(_Size > 1), void *>::_Type memcpy(_DstType (&_Dst)[_Size], const void *_Src, size_t _SrcSize) throw()
|
||||
{
|
||||
return memcpy_s(_Dst, _Size * sizeof(_DstType), _Src, _SrcSize) == 0 ? _Dst : 0;
|
||||
}
|
||||
}
|
||||
5
autotest/CppParser/test3.out
Normal file
5
autotest/CppParser/test3.out
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<globals> {
|
||||
FUNCTIONTEMPLATE memcpy(_DstType(&)[_Size],const void*,size_t)throw(), line 3
|
||||
}
|
||||
<locals> {
|
||||
}
|
||||
2
autotest/CppParser/test4.in
Normal file
2
autotest/CppParser/test4.in
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
template <class T>
|
||||
void Fn<true, int>();
|
||||
5
autotest/CppParser/test4.out
Normal file
5
autotest/CppParser/test4.out
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<globals> {
|
||||
FUNCTIONTEMPLATE Fn<true,int>(), line 1
|
||||
}
|
||||
<locals> {
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue