[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Sema / typedef-prototype.c
blob98b1ab8099975674b2bd42eef7e9abf44ffbc10e
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 typedef int unary_int_func(int arg);
5 unary_int_func add_one;
7 int add_one(int arg) {
8 return arg + 1;