blob: a85a4d04823b9251a26cbb7cea3b4792127a5a34 [file] [log] [blame]
// { dg-additional-options -fmodules-ts }
import foo;
struct pthread_attr_t obj2;
pthread_attr_t obj1; // OK -- we see the implicit typedef
bob obj4;
// the structure tag is not exported. We find the typedef-name, which
// is ill-formed
struct bob obj5; // { dg-error "using typedef-name" }