blob: f900b1716ec8b759af7d22ea085fa2555ef6592c [file] [log] [blame]
onqtam1da586c2016-05-09 19:18:38 +03001#include <vector>
2#include <ostream>
onqtam9cccba72016-05-09 18:34:14 +03003
4struct myType
5{ int a; };
6
7std::ostream& operator<<(std::ostream& stream, const myType&) {
onqtam1da586c2016-05-09 19:18:38 +03008 stream << "dfgsdgfgfdsg";
onqtam9cccba72016-05-09 18:34:14 +03009 return stream;
10}
11
onqtam1da586c2016-05-09 19:18:38 +030012template<typename T>
13std::ostream& operator<<(std::ostream& stream, const std::vector<T>& in) {
14 stream << "dfgsdgfgfdsg";
15 return stream;
16}
17
18#include "in.h"
19
20
onqtam9cccba72016-05-09 18:34:14 +030021#include <iostream>
22
23void f() {
onqtam1da586c2016-05-09 19:18:38 +030024 myType a{5}; std::cout << stringify(a) << std::endl;
25 std::cout << stringify(6) << std::endl;
26 std::vector<int> v(5); std::cout << stringify(v) << std::endl;
onqtam9cccba72016-05-09 18:34:14 +030027}