fork download
  1. template<typename T>
  2. struct Foo{
  3. T bar;
  4. };
  5.  
  6. Foo<int> CreateInt() {
  7. return {.bar = 1337};
  8. }
  9.  
  10. int main(){
  11. CreateInt();
  12. }
Success #stdin #stdout 0s 5292KB
stdin
Standard input is empty
stdout
Standard output is empty