language: C++11 (gcc-4.7.2)
date: 345 days 15 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
#include <vector>
 
void f(std::vector<double> vect);
 
int m()
{
  f({1, 2, 3});
}
 
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
/home/xVLuvB/ccpMW4TC.o: In function `m()':
prog.cpp:(.text+0x74): undefined reference to `f(std::vector<double, std::allocator<double> >)'
collect2: ld returned 1 exit status