brintos

brintos / llvm-project-archived public Read only

0
0
Text · 409 B · cf60087 Raw
9 lines · plain
1// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -x objective-c -fmodule-name=objc_type_param -emit-module %S/Inputs/module.modulemap2// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify3 4@import objc_type_param;5 6id make(BCallback callback, id arg) {7  return callback(arg); // expected-error {{too few arguments to function call}}8}9