aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespaces/weird/another.cpp
blob: 8a125ecff6be136d0fa1854828ea3c70ae696489 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "another.hpp"

#include <iostream>

struct Test
{
    Test() { std::cout << "another.cpp: Test::Test()\n"; }

    float y = 1.;
};

void another()
{
    Test test;
}