mirror of
https://github.com/boostorg/typeof.git
synced 2025-07-29 20:37:28 +02:00
made ODR test runnable
[SVN r31160]
This commit is contained in:
@ -55,6 +55,6 @@ test-suite "typeof"
|
||||
[ compile std.cpp : <define>BOOST_TYPEOF_NATIVE : std_native ]
|
||||
[ compile std.cpp : <define>BOOST_TYPEOF_COMPLIANT : std_emulation ]
|
||||
|
||||
[ link odr1.cpp odr2.cpp : <define>BOOST_TYPEOF_NATIVE : odr_native ]
|
||||
[ link odr1.cpp odr2.cpp : <define>BOOST_TYPEOF_COMPLIANT : odr_emulation ]
|
||||
[ run odr1.cpp odr2.cpp : : : <define>BOOST_TYPEOF_NATIVE : odr_native ]
|
||||
[ run odr1.cpp odr2.cpp : : : <define>BOOST_TYPEOF_COMPLIANT : odr_emulation ]
|
||||
;
|
||||
|
@ -1,6 +1,8 @@
|
||||
#include "odr.hpp"
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "No ODR violation detected" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user