commit | 63a011378d4b9483ce24400c163cb8d65ea096a5 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Sun Feb 07 08:38:28 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Sun Feb 07 08:38:28 2010 +0000 |
tree | fea176eea65e59673f91d8dc0ec1ea7cdcc12b78 | |
parent | eb7f96141f754150a92433286fa385910a22f494 [diff] |
Fix assertion failure when parsing linkage specifications (PR5921), from Keir Mierle! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95516 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/extern-c.cpp b/test/CodeGenCXX/extern-c.cpp index 427a45a..ca5cd73 100644 --- a/test/CodeGenCXX/extern-c.cpp +++ b/test/CodeGenCXX/extern-c.cpp
@@ -10,4 +10,7 @@ // RUN: grep "@_ZN3foo1cE = global i32" %t | count 1 int c = 5; +// RUN: not grep "@_ZN3foo1dE" %t +extern "C" struct d; + }