/******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
#include <vector>
// Vector declared before Blah is defined, no pointers required
std::vector<struct Blah> blahs;
struct Blah
{
int var;
};
int main()
{
blahs.push_back(Blah());
return 0;
}