diff options
-rw-r--r-- | test/CBackend/2002-10-15-OpaqueTypeProblem.ll | 7 | ||||
-rw-r--r-- | test/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/test/CBackend/2002-10-15-OpaqueTypeProblem.ll b/test/CBackend/2002-10-15-OpaqueTypeProblem.ll index d20b975c95..1cd65c2213 100644 --- a/test/CBackend/2002-10-15-OpaqueTypeProblem.ll +++ b/test/CBackend/2002-10-15-OpaqueTypeProblem.ll @@ -1,4 +1,5 @@ -struct Comm; -typedef struct Comm* MPI_Comm; -MPI_Comm* thing; + %MPI_Comm = type %struct.Comm* + %struct.Comm = type opaque +%thing = global %MPI_Comm* null ; <%MPI_Comm**> [#uses=0] +implementation ; Functions: diff --git a/test/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll b/test/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll index d20b975c95..1cd65c2213 100644 --- a/test/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll +++ b/test/CodeGen/CBackend/2002-10-15-OpaqueTypeProblem.ll @@ -1,4 +1,5 @@ -struct Comm; -typedef struct Comm* MPI_Comm; -MPI_Comm* thing; + %MPI_Comm = type %struct.Comm* + %struct.Comm = type opaque +%thing = global %MPI_Comm* null ; <%MPI_Comm**> [#uses=0] +implementation ; Functions: |