1 // RUN: %clang_cc1 -ast-print %s | FileCheck %s
3 // This testcase checks the functionality of
4 // Sema::ActOn{Start,End}FunctionDeclarator, specifically checking that
5 // ActOnEndFunctionDeclarator is called after the typedef so the enum
6 // is in the global scope, not the scope of f().
8 // CHECK: typedef void (*g)();