Sign in
cmake
/
cmake
/
76f08a107b344daff524974868ab30353bd9b255
/
.
/
Tests
/
Cuda
/
MixedStandardLevels5
/
lib.cpp
blob: dd7b31bb559c4aeffadd7fb432d8fee3e9ce47b4 [
file
] [
log
] [
blame
]
#if __cplusplus >= 201103L
# error "invalid standard value"
#endif
int
func
(
int
A
,
int
B
)
{
// Verify that we have at least c++14
if
(
A
<
B
)
{
return
A
+
B
;
}
else
{
return
B
*
A
;
}
}