diff options
Diffstat (limited to 'llvm/docs/GetElementPtr.rst')
-rw-r--r-- | llvm/docs/GetElementPtr.rst | 2 |
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 |