1 // DR 757 allows using types without linkage in declarations with linkage.
2 // Test that this doesn't lead to link-time collisions.
4 // { dg-additional-sources "nolinkage1a.cc" }
5 // { dg-do link { target c++11 } }
7 #include "nolinkage1.h"
9 typedef struct { int i; } *AP;
21 int main() { g(); f(0); return 0; }