Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
31144f85af7ff72c177b4c5f27a593fe931cce78
/
.
/
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
;
}
}