summaryrefslogtreecommitdiffstats
path: root/llvm/docs/GetElementPtr.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/GetElementPtr.rst')
-rw-r--r--llvm/docs/GetElementPtr.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/GetElementPtr.rst b/llvm/docs/GetElementPtr.rst
index b593871695f..c2da640fe06 100644
--- a/llvm/docs/GetElementPtr.rst
+++ b/llvm/docs/GetElementPtr.rst
@@ -196,7 +196,7 @@ illegal.
In order to access the 18th integer in the array, you would need to do the
following:
-.. code-block:: text
+.. code-block:: llvm
%idx = getelementptr { [40 x i32]* }, { [40 x i32]* }* %, i64 0, i32 0
%arr = load [40 x i32]** %idx
OpenPOWER on IntegriCloud