38eb2b89ba
This will help clad implement pattern such as: #pragma clad on // code which needs derivation #pragma clad off
15 lines
321 B
C
15 lines
321 B
C
// RUN: cat %s | %cling -fplugin=%cling_obj_root/tools/plugins/example/libclingDemoPlugin%shlibext | FileCheck %s
|
|
|
|
// CHECK:Action::ParseArgs
|
|
// CHECK-NEXT:Action::CreateASTConsumer
|
|
|
|
int dummy = 15;
|
|
|
|
// CHECK-NEXT:PluginConsumer::HandleTopLevelDecl
|
|
|
|
#pragma demoplugin
|
|
|
|
// CHECK:DemoPluginPragmaHandler::HandlePragma
|
|
|
|
.q
|