summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/BrainF/BrainF.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/BrainF/BrainF.cpp b/examples/BrainF/BrainF.cpp
index d3261d7996..7ae268f592 100644
--- a/examples/BrainF/BrainF.cpp
+++ b/examples/BrainF/BrainF.cpp
@@ -128,6 +128,7 @@ void BrainF::header(LLVMContext& C) {
get("Error: The head has left the tape.", true);
GlobalVariable *aberrormsg = new GlobalVariable(
+ module->getContext(),
msg_0->getType(),
true,
GlobalValue::InternalLinkage,