brintos

brintos / llvm-project-archived public Read only

0
0
Text · 335 B · 0c57177 Raw
24 lines · cpp
1// RUN: %clang_cc1 -verify %s2// expected-no-diagnostics3 4// PR122235namespace test1 {6  namespace N {7    extern "C" void f_test1(struct S*);8    void g(S*);9  }10  namespace N {11    void f(struct S *s) {12      g(s);13    }14  }15}16 17// PR1044718namespace test2 {19  extern "C" {20    void f_test2(struct Bar*) { }21    test2::Bar *ptr;22  }23}24