blob: 99de837dc79ae942c61024f159e2e1fa084756fa [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=c | grep {\\* *volatile *\\*}
Chris Lattner7a666412005-09-27 20:52:30 +00002
Tanya Lattner53a66d12008-02-19 01:41:04 +00003@G = external global void ()* ; <void ()**> [#uses=2]
Chris Lattner7a666412005-09-27 20:52:30 +00004
Tanya Lattner53a66d12008-02-19 01:41:04 +00005define void @test() {
6 volatile store void ()* @test, void ()** @G
7 volatile load void ()** @G ; <void ()*>:1 [#uses=0]
8 ret void
Chris Lattner7a666412005-09-27 20:52:30 +00009}
Tanya Lattner53a66d12008-02-19 01:41:04 +000010