aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/typedef-prototype.c
blob: e646604ae38928604b1817b9c50334c84e28bf73 (plain)
1
2
3
4
5
6
7
8
// RUN: clang -fsyntax-only -verify %s

typedef int unary_int_func(int arg);
unary_int_func add_one;

int add_one(int arg) {
  return arg + 1;
}