summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp')
-rw-r--r--llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp b/llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp
index b0ff7e75075..87ababc5f18 100644
--- a/llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp
+++ b/llvm/test/FrontendC++/2005-02-11-AnonymousUnion.cpp
@@ -21,7 +21,7 @@ int test2(short F) {
}
// Make sure that normal unions work. duh :)
-volatile union {
+volatile union U_t {
short S;
int i;
} U;
OpenPOWER on IntegriCloud