summaryrefslogtreecommitdiff
path: root/constexpr-test.cpp
blob: ba88142ef03b83b8aac148f50c17fb997dacac67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <iostream>
#include "sales_item.hpp"

/*
 *
 * A little test
 *
 *
 */

constexpr int get_number() {

	return 999;
}

int main () {

	constexpr int i = get_number();
	std::cout << i << std::endl;

	return 0;
}