blob: 0afba5af1c4501871258eba0eb4f36d4e88e5436 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <vector>
template<auto>
auto f(auto, auto) -> void { }
constexpr int a = 1;
main: () -> int = {
v : std::vector<int> = ( 1, 2, 3 );
std::cout << (1+2) * (3+v[0]);
f<(1>2)>(3,4);
f< a+a >(5,6);
}
|