1 void test(int i, float f) { 2 // unqualified lookup 3 f0(&i); 4 f0(&f); 5 6 // qualified lookup into the translation unit 7 ::f0(&i); 8 ::f0(&f); 9 } 10 11 // RUN: %clang_cc1 -emit-module -x c++ -verify -o %t_lookup_left.h.pch %S/Inputs/lookup_left.hpp 12 // RUN: %clang_cc1 -emit-module -x c++ -o %t_lookup_right.h.pch %S/Inputs/lookup_right.hpp 13 // RUN: %clang_cc1 -x c++ -import-module %t_lookup_left.h.pch -import-module %t_lookup_right.h.pch -verify %s 14 // RUN: %clang_cc1 -ast-print -x c++ -import-module %t_lookup_left.h.pch -import-module %t_lookup_right.h.pch %s | FileCheck -check-prefix=CHECK-PRINT %s 15 16 // CHECK-PRINT: int *f0(int *); 17 // CHECK-PRINT: float *f0(float *); 18 // CHECK-PRINT: void test(int i, float f) 19 20