Skip to content

Commit

Permalink
The "." is needed for lit to parse the regex; require 5*hex.
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann authored and sftnight committed Jul 30, 2016
1 parent be22fa6 commit 6b06b73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Prompt/ValuePrinter/Assignments.C
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const char* b = "b" // CHECK: (const char *) "b"
const char* n = 0 // CHECK: (const char *) nullptr

struct C {int d;} E = {22};
E // CHECK: (struct C &) @0x{{[0-9A-Fa-f]{6,12}}}
E // CHECK: (struct C &) @0x{{[0-9A-Fa-f]{5,12}.}}
E.d // CHECK: (int) 22

#include <string>
Expand Down Expand Up @@ -56,5 +56,5 @@ typedef void (*F_t)(int);
F_t fp = 0;
fp // CHECK: (F_t) Function @0x0
#include <stdio.h>
fp = (F_t)printf // CHECK: (F_t) Function @0x{{[0-9A-Fa-f]{6,12}}}
fp = (F_t)printf // CHECK: (F_t) Function @0x{{[0-9A-Fa-f]{5,12}.}}
.q

0 comments on commit 6b06b73

Please sign in to comment.